mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
feat: error state outside of button
This commit is contained in:
@@ -136,8 +136,9 @@ const navigateToExternalSSOUrl = () => {
|
||||
<div class="w-full flex flex-col gap-1 my-1">
|
||||
<hr v-if="currentState === 'idle' || currentState === 'error'" />
|
||||
<p class="text-center" v-if="currentState === 'idle' || currentState === 'error'">or</p>
|
||||
<p class="text-red-500 text-center" v-if="currentState === 'error'">{{ error }}</p>
|
||||
<Button
|
||||
:disabled="currentState === 'loading' || currentState === 'error'"
|
||||
:disabled="currentState === 'loading'"
|
||||
btnStyle="outline"
|
||||
class="rounded-none uppercase tracking-widest"
|
||||
@click="navigateToExternalSSOUrl"
|
||||
|
||||
Reference in New Issue
Block a user