mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 15:13:09 +02:00
fix(client): Make isTimelineAvailable
a reference (#9906)
* Make `isTimelineAvailable` a reference * Update b.vue
This commit is contained in:
parent
9f0e0dc8ce
commit
2f41f12aea
1 changed files with 1 additions and 1 deletions
|
@ -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