mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix bug allowing click on disabled actions
This commit is contained in:
@@ -1701,7 +1701,7 @@ export module Mock {
|
||||
description:
|
||||
'An example of an action that shows a warning and takes no input',
|
||||
warning: 'careful running this action',
|
||||
visibility: 'enabled',
|
||||
visibility: { disabled: 'This is temporarily disabled' },
|
||||
allowedStatuses: 'only-running',
|
||||
hasInput: false,
|
||||
group: null,
|
||||
|
||||
@@ -129,7 +129,7 @@ export const mockPatchData: DataModel = {
|
||||
description:
|
||||
'An example of an action that shows a warning and takes no input',
|
||||
warning: 'careful running this action',
|
||||
visibility: 'enabled',
|
||||
visibility: { disabled: 'This is temporarily disabled' },
|
||||
allowedStatuses: 'only-running',
|
||||
hasInput: false,
|
||||
group: null,
|
||||
|
||||
Reference in New Issue
Block a user