diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-20 19:50:32 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-20 19:50:32 +1000 |
| commit | 9a7bb3db01fe2e99ccc12285c63323bc67c278e8 (patch) | |
| tree | 96d9e6c1b2d3e4225fb603d0296048f5cffb753a /src/App.vue | |
| parent | 2374693a86532637ccf472af5960e68851308528 (diff) | |
Increase type-consistency via server-classes and client-types
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue index cddb027..99f4018 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,8 +14,8 @@ import SearchIcon from './components/icon/SearchIcon.vue'; import PlayIcon from './components/icon/PlayIcon.vue'; import SettingsIcon from './components/icon/SettingsIcon.vue'; // Other -import type {TolMap} from './tol'; -import {TolNode} from './tol'; +import type {TolMap} from './lib'; +import {TolNode} from './lib'; import {LayoutNode, initLayoutTree, initLayoutMap, tryLayout} from './layout'; import type {LayoutOptions, LayoutTreeChg} from './layout'; import {arraySum, randWeightedChoice, getScrollBarWidth} from './lib'; @@ -302,7 +302,7 @@ export default defineComponent({ }, onDetachedAncestorClick(layoutNode: LayoutNode, alsoCollapse = false){ if (!this.handleActionForTutorial('unhideAncestor')){ - return; + return Promise.resolve(false); } this.setLastFocused(null); this.activeRoot = layoutNode; |
