Skip to content
Snippets Groups Projects
Commit 02978d02 authored by syuilo's avatar syuilo
Browse files

lint

parent f8d5a46d
No related branches found
No related tags found
10 merge requests!449release 2024.3.1,!448Release 2023.3.1 - Codename #NotDeadYet,!34Merge Beta3,!35fix: admin css,!36Fix Like button not working on renotes/boosts,!37merge develope,!57Merge Latest Changes,!62fix: background overlaying,!682023.9.1.beta5,!112update develop with stable changes
......@@ -23,7 +23,7 @@ const accountData = miLocalStorage.getItem('account');
// TODO: 外部からはreadonlyに
export const $i = accountData ? reactive(JSON.parse(accountData) as Account) : null;
export const iAmModerator = $i != null && ($i.isAdmin || $i.isModerator);
export const iAmModerator = $i != null && ($i.isAdmin === true || $i.isModerator === true);
export const iAmAdmin = $i != null && $i.isAdmin;
export let notesCount = $i == null ? 0 : $i.notesCount;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment