diff --git a/plugins/core/package-lock.json b/plugins/core/package-lock.json index 86d580f4a..3792c593c 100644 --- a/plugins/core/package-lock.json +++ b/plugins/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/core", - "version": "0.0.81", + "version": "0.0.82", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/core", - "version": "0.0.81", + "version": "0.0.82", "license": "Apache-2.0", "dependencies": { "@scrypted/sdk": "file:../../sdk", diff --git a/plugins/core/package.json b/plugins/core/package.json index 7376179a8..87b1e7ec7 100644 --- a/plugins/core/package.json +++ b/plugins/core/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/core", - "version": "0.0.81", + "version": "0.0.82", "description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/core/ui/src/common/Grower.vue b/plugins/core/ui/src/common/Grower.vue index bc6a41768..d013711b5 100644 --- a/plugins/core/ui/src/common/Grower.vue +++ b/plugins/core/ui/src/common/Grower.vue @@ -4,7 +4,11 @@ - {{ addButton }} + + + {{ addButton }} + {{ saveButton }} + @@ -17,20 +21,24 @@ export default { empty: undefined, addButton: { default: "Add", - type: String - } + type: String, + }, + saveButton: { + default: undefined, + type: String, + }, }, mixins: [CustomValue], methods: { setIndex(index) { - return entry => { - this.lazyValue[index] = entry; - this.onInput(); + return (entry) => { + this.lazyValue[index] = entry; + this.onInput(); }; }, add() { this.lazyValue.push(cloneDeep(this.empty)); - } - } + }, + }, }; diff --git a/plugins/core/ui/src/common/Storage.vue b/plugins/core/ui/src/common/Storage.vue index dcc1f3591..3ad7b657e 100644 --- a/plugins/core/ui/src/common/Storage.vue +++ b/plugins/core/ui/src/common/Storage.vue @@ -1,9 +1,11 @@