cluster-status -- part 1 (ex. ClusterPage.vue)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-17 23:19:41 +03:00
1 parent a3edb75fea
commit d7d9c99005
7 files changed
+85 -16

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ export class BaseStore<T = any> extends Singleton {
protected async onModelChange(model: T) {
if (ipcMain) {
this.save(model); // save config file
sendMessage({ channel: this.syncChannel, args: model }); // broadcast to renderer views
sendMessage({ channel: this.syncChannel, args: [model] }); // broadcast to renderer views
}
// send "update-request" to main-process
if (ipcRenderer) {