This commit is contained in:
marlon-erler
2026-04-13 19:50:06 +00:00
parent eaf9afae6a
commit cb43d9e1ae
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -2255,7 +2255,7 @@
this.connectionModel = connectionModel2; this.connectionModel = connectionModel2;
this.chatListModel = chatListModel2; this.chatListModel = chatListModel2;
this.fileTransferModel = fileTransferModel2; this.fileTransferModel = fileTransferModel2;
this.BUILD = "Build 26.04.13.C"; this.BUILD = "Build 26.04.13.D";
// CONTEXT // CONTEXT
this.contextStack = /* @__PURE__ */ new Map(); this.contextStack = /* @__PURE__ */ new Map();
this.logContexts = () => { this.logContexts = () => {
@@ -2267,7 +2267,6 @@
); );
}; };
this.closeContext = (contextId) => { this.closeContext = (contextId) => {
console.log("closing context", contextId);
if (!this.contexts.map((context) => context.contextId).includes(contextId)) if (!this.contexts.map((context) => context.contextId).includes(contextId))
return; return;
while (this.contexts.length > 0) { while (this.contexts.length > 0) {
@@ -2304,7 +2303,6 @@
return this.contexts.pop(); return this.contexts.pop();
} }
set context(context) { set context(context) {
console.log("setting context", context.contextId, this.contextStack.has(context.contextId));
if (this.contextStack.has(context.contextId)) return; if (this.contextStack.has(context.contextId)) return;
this.contextStack.set(context.contextId, context); this.contextStack.set(context.contextId, context);
this.logContexts(); this.logContexts();
@@ -2437,7 +2435,6 @@
}; };
// view // view
this.open = () => { this.open = () => {
console.log(this);
this.coreViewModel.context = this; this.coreViewModel.context = this;
this.containingModel.selectTask(this); this.containingModel.selectTask(this);
}; };
+1 -1
View File
@@ -8,7 +8,7 @@ import FileTransferModel from "../../Model/Global/fileTransferModel";
import { v4 } from "uuid"; import { v4 } from "uuid";
export default class CoreViewModel { export default class CoreViewModel {
readonly BUILD = "Build 26.04.13.D"; readonly BUILD = "Build 26.04.13.E";
translations: Translations; translations: Translations;