mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-20 06:15:13 +00:00
Button for selected screen looks 'selected', not 'disabled'
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<button @click="selectScreen('inbox');"
|
||||
:disabled="selectedScreen == 'inbox'">
|
||||
:class="[selectedScreen == 'inbox' ? 'selected' : '']">
|
||||
Inbox View
|
||||
</button>
|
||||
<button @click="selectScreen('archive')"
|
||||
:disabled="selectedScreen == 'archive'">
|
||||
:class="[selectedScreen == 'archive' ? 'selected' : '']">
|
||||
Archived View
|
||||
</button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user