diff --git a/README.md b/README.md index bf4b6d0..3effefd 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,9 @@ If activated so by every command (no matter if the request came via state or sen --> ## Changelog +### **WORK IN PROGRESS** +* (bluefox) Corrected link from admin + ### 3.0.1 (2023-02-21) * (bluefox) Corrected many GUI errors diff --git a/io-package.json b/io-package.json index 2c0c6cf..cc146ef 100644 --- a/io-package.json +++ b/io-package.json @@ -138,7 +138,7 @@ "eraseOnUpload": true, "enabled": true, "extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.text2command/master/admin/text2command.png", - "localLink": "/adapter/text2command/tab.html", + "localLink": "/adapter/text2command/tab.html?instance=%instance%", "type": "logic", "noConfig": true, "compact": true, diff --git a/src/src/App.js b/src/src/App.js index 349cf7d..011fe50 100644 --- a/src/src/App.js +++ b/src/src/App.js @@ -78,7 +78,7 @@ class App extends GenericApp { .then(obj => { if (JSON.stringify(obj.native) !== JSON.stringify(config)) { obj.native = config; - return this.socket.setObject(`system.adapter.${this.adapterName}.${this.instance}`, obj) + return this.socket.setObject(obj._id, obj) .then(() => true); }