From da81aec9cc837e2b7f6792b2dc79b408d3988907 Mon Sep 17 00:00:00 2001 From: Chris Guida Date: Thu, 1 Apr 2021 16:31:31 -0600 Subject: [PATCH] add ui mock action with only one allowed status --- ui/src/app/services/api/mock-app-fixures.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/app/services/api/mock-app-fixures.ts b/ui/src/app/services/api/mock-app-fixures.ts index 3ad899e30..2ac74aea0 100644 --- a/ui/src/app/services/api/mock-app-fixures.ts +++ b/ui/src/app/services/api/mock-app-fixures.ts @@ -66,6 +66,7 @@ export const bitcoinI: ApiAppInstalledFull = { restoreAlert: 'if you restore this app horrible things will happen to the people you love.', actions: [ { id: 'sync-chain', name: 'Sync Chain', description: 'this will sync with the chain like from Avatar', allowedStatuses: [ AppStatus.RUNNING, AppStatus.RUNNING, AppStatus.RUNNING, AppStatus.RUNNING ]}, + { id: 'single-status-action', name: 'Single Status Action', description: 'This action has only one allowed status', allowedStatuses: [ AppStatus.RUNNING ]}, { id: 'off-sync-chain', name: 'Off Sync Chain', description: 'this will off sync with the chain like from Avatar', allowedStatuses: [ AppStatus.STOPPED ]} ], }