mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
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 New Issue
Block a user