fix(front): various cleanups

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2024-02-08 11:26:27 +01:00
parent 34c0dd6498
commit 6a482b0d97
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
4 changed files with 5 additions and 8 deletions

View file

@ -17,7 +17,6 @@ export function useGroupMembers(
groupName: Ref<string>,
options: useGroupMembersOptions = {}
) {
console.debug("useGroupMembers", options);
const { result, error, loading, onResult, onError, refetch, fetchMore } =
useQuery<
{

View file

@ -25,7 +25,7 @@
aria-required="true"
required
v-model="identity.name"
@input="(event: any) => updateUsername(event.target.value)"
@update:modelValue="(value: string) => updateUsername(value)"
id="identity-display-name"
dir="auto"
expanded

View file

@ -349,11 +349,10 @@ const { result: loggedUserResult } = useQuery<{ loggedUser: IUser }>(
USER_NOTIFICATIONS
);
const loggedUser = computed(() => loggedUserResult.value?.loggedUser);
const feedTokens = computed(
() =>
loggedUser.value?.feedTokens.filter(
(token: IFeedToken) => token.actor === null
)
const feedTokens = computed(() =>
loggedUser.value?.feedTokens.filter(
(token: IFeedToken) => token.actor === null
)
);
const { result: webPushEnabledResult } = useQuery<{

View file

@ -94,7 +94,6 @@
<o-field grouped>
<o-field :label="t('City or region')" expanded label-for="setting-city">
<full-address-auto-complete
v-if="loggedUser?.settings"
:resultType="AddressSearchType.ADMINISTRATIVE"
v-model="address"
:default-text="address?.description"