Remove app start/stop button from toolbar
This commit is contained in:
@@ -171,13 +171,6 @@ function create() {
|
||||
return {
|
||||
name: 'AppsModel',
|
||||
getTask,
|
||||
isStopped(app) {
|
||||
if (app.installationState === ISTATES.PENDING_START || app.installationState === ISTATES.PENDING_STOP) {
|
||||
return app.installationState === ISTATES.PENDING_START;
|
||||
} else {
|
||||
return app.runState === RSTATES.STOPPED;
|
||||
}
|
||||
},
|
||||
async install(manifest, config) {
|
||||
const data = {
|
||||
appStoreId: manifest.id + '@' + manifest.version,
|
||||
|
||||
Reference in New Issue
Block a user