From f0d8ca2b3616c34ae47da902fb7d84aaa1aae338 Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Mon, 29 Jan 2024 14:05:09 +0100 Subject: [PATCH] UPD: Hide profile id by default --- src/components/profile/ProfileButton.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/profile/ProfileButton.vue b/src/components/profile/ProfileButton.vue index 090fa6b..f5628c4 100644 --- a/src/components/profile/ProfileButton.vue +++ b/src/components/profile/ProfileButton.vue @@ -46,6 +46,7 @@ :class="{'text-black': selected, 'text-zinc-100': !selected}" :text="profile.name" /> uID:{{ profile.id }} @@ -117,10 +118,14 @@ const props = defineProps({ type: Boolean, default: false, }, - nameEditable: { + showId: { type: Boolean, default: false, }, + nameEditable: { + type: Boolean, + default: true, + }, initEditing: { type: Boolean, default: false,