mirror of
https://github.com/unraid/api.git
synced 2026-01-01 22:20:05 -06:00
refactor: only display UPC update links when no stateDataError
This commit is contained in:
@@ -113,7 +113,8 @@ const links = computed(():UserProfileLink[] => {
|
||||
}]
|
||||
: []),
|
||||
|
||||
...([updateOsButton.value]),
|
||||
// ensure we only show the update button when we don't have an error
|
||||
...(!stateDataError.value ? [updateOsButton.value] : []),
|
||||
|
||||
// connect plugin links
|
||||
...(registered.value && connectPluginInstalled.value
|
||||
|
||||
Reference in New Issue
Block a user