display models that have not been fully downloaded in Downloads page, even if the program is restarted
This commit is contained in:
@@ -55,6 +55,7 @@ class CommonStore {
|
||||
modelSourceList: ModelSourceItem[] = [];
|
||||
// downloads
|
||||
downloadList: DownloadStatus[] = [];
|
||||
lastUnfinishedModelDownloads: DownloadStatus[] = [];
|
||||
// settings
|
||||
advancedCollapsed: boolean = true;
|
||||
settings: SettingsType = {
|
||||
@@ -197,6 +198,10 @@ class CommonStore {
|
||||
setAdvancedCollapsed(value: boolean) {
|
||||
this.advancedCollapsed = value;
|
||||
}
|
||||
|
||||
setLastUnfinishedModelDownloads(value: DownloadStatus[]) {
|
||||
this.lastUnfinishedModelDownloads = value;
|
||||
}
|
||||
}
|
||||
|
||||
export default new CommonStore();
|
||||
Reference in New Issue
Block a user