basic impl of creating a link, with preview

This commit is contained in:
Bruno Windels
2020-12-02 15:39:33 +01:00
parent 5d40d01360
commit 0fc203dff5
5 changed files with 69 additions and 5 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ export class RootViewModel extends ViewModel {
this.openLinkViewModel.load();
}
} else {
this.previewViewModel = null;
this.openLinkViewModel = null;
this.createLinkViewModel = new CreateLinkViewModel(this.childOptions());
}
this.emitChange();
}