UPD: Hide profile id by default
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user