display lastModelName at the top (WorkHeader)

This commit is contained in:
josc146
2023-11-20 23:27:44 +08:00
parent 41e5bd5eb8
commit 66e43c9d9b
5 changed files with 17 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class CommonStore {
monitorData: MonitorData | null = null;
depComplete: boolean = false;
platform: Platform = 'windows';
lastModelName: string = '';
// presets manager
editingPreset: Preset | null = null;
presets: Preset[] = [];
@@ -232,6 +233,10 @@ class CommonStore {
this.about = value;
};
setLastModelName(value: string) {
this.lastModelName = value;
}
setDepComplete = (value: boolean, inSaveCache: boolean = true) => {
this.depComplete = value;
if (inSaveCache)