mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
dont show hidden actions
This commit is contained in:
@@ -83,6 +83,7 @@ export default class ServiceActionsRoute {
|
|||||||
icon: pkg.icon,
|
icon: pkg.icon,
|
||||||
manifest: getManifest(pkg),
|
manifest: getManifest(pkg),
|
||||||
actions: Object.entries(pkg.actions)
|
actions: Object.entries(pkg.actions)
|
||||||
|
.filter(([_, action]) => action.visibility !== 'hidden')
|
||||||
.map(([id, action]) => ({
|
.map(([id, action]) => ({
|
||||||
...action,
|
...action,
|
||||||
id,
|
id,
|
||||||
|
|||||||
Reference in New Issue
Block a user