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}" :class="{'text-black': selected, 'text-zinc-100': !selected}"
:text="profile.name" /> :text="profile.name" />
<span <span
v-if="showId"
class="text-xs text-zinc-600" class="text-xs text-zinc-600"
:class="{'hidden': hover}"> uID:{{ profile.id }}</span> :class="{'hidden': hover}"> uID:{{ profile.id }}</span>
</button> </button>
@@ -117,10 +118,14 @@ const props = defineProps({
type: Boolean, type: Boolean,
default: false, default: false,
}, },
nameEditable: { showId: {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
nameEditable: {
type: Boolean,
default: true,
},
initEditing: { initEditing: {
type: Boolean, type: Boolean,
default: false, default: false,