re-add disabled correctly
This commit is contained in:
@@ -306,10 +306,10 @@
|
||||
</p>
|
||||
<div class="d-flex gap-2 mb-3">
|
||||
<button id="commitYes" class="btn flex-fill"
|
||||
:class="{'btn-success': committed != 'NO', 'btn-outline-success opacity-75' : committed == 'NO', 'disabled': working}"
|
||||
:class="{'btn-success': committed != 'NO', 'disabled': committed == 'YES', 'btn-outline-success opacity-75' : committed == 'NO', 'disabled': working}"
|
||||
@click="submitCommit('YES')" autofocus>Ja, ich bin dabei!</button>
|
||||
<button id="commitNo" class="btn flex-fill"
|
||||
:class="{'btn-danger' : committed != 'YES','btn-outline-danger opacity-75' : committed == 'YES', 'disabled': working}"
|
||||
:class="{'btn-danger' : committed != 'YES', 'disabled': committed == 'NO', 'btn-outline-danger opacity-75' : committed == 'YES', 'disabled': working}"
|
||||
@click="submitCommit('NO')">Nein, ich bin nicht dabei</button>
|
||||
</div>
|
||||
<div class="d-flex mt-2">
|
||||
|
||||
Reference in New Issue
Block a user