mirror of
https://github.com/directus/directus.git
synced 2026-02-19 10:14:33 -05:00
Minor tweaks in installation (#566)
* Don't show super admin password while loading * Allow tab key in slug input (for tabbing to another field) * Don't show project chooser arrow when 1 project
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<template>
|
||||
<v-menu v-if="project" show-arrow placement="bottom-start" close-on-content-click>
|
||||
<v-menu
|
||||
v-if="project"
|
||||
show-arrow
|
||||
placement="bottom-start"
|
||||
close-on-content-click
|
||||
:disabled="projects.length <= 1"
|
||||
>
|
||||
<template #activator="{ toggle }">
|
||||
<div class="project-chooser" @click="toggle">
|
||||
<div class="public-view-logo" v-if="project && project.logo">
|
||||
@@ -7,7 +13,7 @@
|
||||
</div>
|
||||
<img v-else class="default-logo" src="./logo-dark.svg" alt="Directus" />
|
||||
<h1 class="title type-title">{{ project && (project.name || project.key) }}</h1>
|
||||
<v-icon name="expand_more" />
|
||||
<v-icon name="expand_more" v-if="projects.length > 1" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user