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