refactor: only display UPC update links when no stateDataError

This commit is contained in:
Zack Spear
2024-01-30 16:45:39 -08:00
committed by Zack Spear
parent f1e0d93bc5
commit 78fb49a6fc

View File

@@ -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