fix: user menu dropdown
https://kolaente.dev/vikunja/frontend/issues/2178
This commit is contained in:
parent
3becf8738b
commit
8183fce829
1 changed files with 13 additions and 18 deletions
|
@ -48,44 +48,38 @@
|
||||||
</x-button>
|
</x-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<BaseButton
|
<dropdown-item
|
||||||
:to="{name: 'user.settings'}"
|
:to="{name: 'user.settings'}"
|
||||||
class="dropdown-item"
|
|
||||||
>
|
>
|
||||||
{{ $t('user.settings.title') }}
|
{{ $t('user.settings.title') }}
|
||||||
</BaseButton>
|
</dropdown-item>
|
||||||
<BaseButton
|
<dropdown-item
|
||||||
v-if="imprintUrl"
|
v-if="imprintUrl"
|
||||||
:href="imprintUrl"
|
:href="imprintUrl"
|
||||||
class="dropdown-item"
|
|
||||||
>
|
>
|
||||||
{{ $t('navigation.imprint') }}
|
{{ $t('navigation.imprint') }}
|
||||||
</BaseButton>
|
</dropdown-item>
|
||||||
<BaseButton
|
<dropdown-item
|
||||||
v-if="privacyPolicyUrl"
|
v-if="privacyPolicyUrl"
|
||||||
:href="privacyPolicyUrl"
|
:href="privacyPolicyUrl"
|
||||||
class="dropdown-item"
|
|
||||||
>
|
>
|
||||||
{{ $t('navigation.privacy') }}
|
{{ $t('navigation.privacy') }}
|
||||||
</BaseButton>
|
</dropdown-item>
|
||||||
<BaseButton
|
<dropdown-item
|
||||||
@click="$store.commit('keyboardShortcutsActive', true)"
|
@click="$store.commit('keyboardShortcutsActive', true)"
|
||||||
class="dropdown-item"
|
|
||||||
>
|
>
|
||||||
{{ $t('keyboardShortcuts.title') }}
|
{{ $t('keyboardShortcuts.title') }}
|
||||||
</BaseButton>
|
</dropdown-item>
|
||||||
<BaseButton
|
<dropdown-item
|
||||||
:to="{name: 'about'}"
|
:to="{name: 'about'}"
|
||||||
class="dropdown-item"
|
|
||||||
>
|
>
|
||||||
{{ $t('about.title') }}
|
{{ $t('about.title') }}
|
||||||
</BaseButton>
|
</dropdown-item>
|
||||||
<BaseButton
|
<dropdown-item
|
||||||
@click="logout()"
|
@click="logout()"
|
||||||
class="dropdown-item"
|
|
||||||
>
|
>
|
||||||
{{ $t('user.auth.logout') }}
|
{{ $t('user.auth.logout') }}
|
||||||
</BaseButton>
|
</dropdown-item>
|
||||||
</dropdown>
|
</dropdown>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -103,6 +97,7 @@ import Rights from '@/models/constants/rights.json'
|
||||||
import Update from '@/components/home/update.vue'
|
import Update from '@/components/home/update.vue'
|
||||||
import ListSettingsDropdown from '@/components/list/list-settings-dropdown.vue'
|
import ListSettingsDropdown from '@/components/list/list-settings-dropdown.vue'
|
||||||
import Dropdown from '@/components/misc/dropdown.vue'
|
import Dropdown from '@/components/misc/dropdown.vue'
|
||||||
|
import DropdownItem from '@/components/misc/dropdown-item.vue'
|
||||||
import Notifications from '@/components/notifications/notifications.vue'
|
import Notifications from '@/components/notifications/notifications.vue'
|
||||||
import Logo from '@/components/home/Logo.vue'
|
import Logo from '@/components/home/Logo.vue'
|
||||||
import BaseButton from '@/components/base/BaseButton.vue'
|
import BaseButton from '@/components/base/BaseButton.vue'
|
||||||
|
|
Loading…
Reference in a new issue