fix(client): Make isTimelineAvailable
a reference (#9906)
* Make `isTimelineAvailable` a reference * Update b.vue
This commit is contained in:
parent
9f0e0dc8ce
commit
2f41f12aea
|
@ -83,7 +83,7 @@ const announcements = {
|
|||
limit: 10,
|
||||
};
|
||||
|
||||
const isTimelineAvailable = instance.policies.ltlAvailable || instance.policies.gtlAvailable;
|
||||
const isTimelineAvailable = $ref(instance.policies?.ltlAvailable || instance.policies?.gtlAvailable);
|
||||
|
||||
let showMenu = $ref(false);
|
||||
let isDesktop = $ref(window.innerWidth >= DESKTOP_THRESHOLD);
|
||||
|
|
Loading…
Reference in a new issue