mirror of
https://github.com/unraid/api.git
synced 2026-01-04 23:50:37 -06:00
refactor: position state data error above key actions in dropdown
This commit is contained in:
@@ -83,6 +83,8 @@ const links = computed(():UserProfileLink[] => {
|
||||
</h2>
|
||||
</header>
|
||||
<ul class="list-reset flex flex-col gap-y-4px p-0">
|
||||
<UpcDropdownError v-if="stateData.error" />
|
||||
|
||||
<template v-if="keyActions">
|
||||
<li v-for="action in keyActions" :key="action.name">
|
||||
<UpcDropdownItem :item="action" />
|
||||
@@ -93,8 +95,8 @@ const links = computed(():UserProfileLink[] => {
|
||||
<UpcKeyline />
|
||||
</li>
|
||||
|
||||
<UpcDropdownError v-if="stateData.error" />
|
||||
<UpcDropdownConnectStatus v-else-if="registered && pluginInstalled" />
|
||||
|
||||
<UpcDropdownConnectStatus v-if="!stateData.error && registered && pluginInstalled" />
|
||||
|
||||
<template v-if="links">
|
||||
<li v-for="(link, index) in links" :key="`link_${index}`">
|
||||
|
||||
Reference in New Issue
Block a user