UPD: Hide profile id by default

This commit is contained in:
Robert Kossessa
2024-01-29 14:05:09 +01:00
parent 88d06f595c
commit f0d8ca2b36

View File

@@ -46,6 +46,7 @@
:class="{'text-black': selected, 'text-zinc-100': !selected}"
:text="profile.name" />
<span
v-if="showId"
class="text-xs text-zinc-600"
:class="{'hidden': hover}"> uID:{{ profile.id }}</span>
</button>
@@ -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,