File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ public function fields(Request $request)
74
74
}
75
75
```
76
76
77
+
78
+ > This fields (both ` ActionButton ` and ` ActionButtons ` ) are available on index and detail (Thanks to [ @CosminBd ] ( https://github.com/CosminBd ) ) views
79
+
80
+
77
81
## Caveats
78
82
* Currently, in order to use this field, you still have to declare the action in your resource ` actions() ` method.
79
83
* Tested only on ` confirm-action-modal ` action
@@ -123,8 +127,6 @@ class RefreshAction extends Action
123
127
124
128
```
125
129
126
- > This field is available on index and detail (Thanks to [ @CosminBd ] ( https://github.com/CosminBd ) ) views
127
-
128
130
---
129
131
To hide the action either on Index or Detail, you can add the methods in the action declaration as per:
130
132
``` php
You can’t perform that action at this time.
0 commit comments