public function filterActions(\Illuminate\Database\Eloquent\Model $instance): array
    {
        $listButtons = [];
        if ($this->count()) {
            $buttons = $this->getActions();
            foreach ($buttons as &$button) {
                if ($button->getValues($instance)) {
                    $listButtons[] = $button->render();
                    unset($button);
                }
            }
        }

        return $listButtons;
    }