Mostly aligned subscription messaging pattern

This commit is contained in:
2025-06-18 22:35:28 -05:00
parent 5c7dff5d2b
commit 53bbfe2bc7
9 changed files with 127 additions and 173 deletions

View File

@@ -77,13 +77,13 @@ export class FilesService {
}
async addTab(file: NewtonFile) {
let message = new ServiceMessage();
message.action = "create-tab";
message.message = file.fname;
message.uuid = file.hash;
message.data = file.path;
let message = new ServiceMessage();
message.action = "create-tab";
message.fileName = file.fname;
message.fileUUID = file.hash;
message.filePath = file.path;
this.tabsService.setData(message);
this.tabsService.sendMessage(message);
}