auth: rename profile.data -> profile.current
This commit is contained in:
76 files changed
+233
-224
No files matched your search
@@ -51,14 +51,14 @@
|
||||
<Option value="Local" icon={MapPin}>{$t('filter.location.local')}</Option>
|
||||
<Option
|
||||
value="Subscribed"
|
||||
disabled={profile.data?.jwt == undefined}
|
||||
disabled={profile.current?.jwt == undefined}
|
||||
icon={Newspaper}
|
||||
>
|
||||
{$t('filter.location.subscribed')}
|
||||
</Option>
|
||||
<Option
|
||||
value="ModeratorView"
|
||||
disabled={!profile.data?.jwt || !amModOfAny(profile.data?.user)}
|
||||
disabled={!profile.current?.jwt || !amModOfAny(profile.current?.user)}
|
||||
icon={ShieldCheck}
|
||||
>
|
||||
{$t('filter.location.moderator')}
|
||||
|
||||
Reference in new issue
Block a user