Skip to content

Add canRun() #5

Description

@jerrychee94

This will not work in fields method.

ActionButton::make('Action')->action((new AddRemark)->canSee(function () {
                return false;
            }), $this->id),

But it works in actions method

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions