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