auth: rename profile.data -> profile.current
This commit is contained in:
76 files changed
+233
-224
No files matched your search
@@ -96,7 +96,7 @@
|
||||
>
|
||||
<ObjectAutocomplete
|
||||
label={$t('nav.create.community')}
|
||||
jwt={profile.data?.jwt}
|
||||
jwt={profile.current?.jwt}
|
||||
listing_type="All"
|
||||
showWhenEmpty={true}
|
||||
onselect={c =>
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function load({ url, fetch }) {
|
||||
})!,
|
||||
results: new ReactiveState(everything),
|
||||
streamed: {
|
||||
object: profile.data?.jwt
|
||||
object: profile.current?.jwt
|
||||
? getClient(undefined, fetch).resolveObject({
|
||||
q: query,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user