Add UI for managing blockers

This commit is contained in:
Phillip Thelen
2025-05-28 23:26:18 +02:00
parent ea60ddbf4c
commit 2a2bea07ab
2 changed files with 1 additions and 8 deletions
@@ -14,8 +14,7 @@
<td><input v-model="blocker.reason"></td>
<td>
<button class="btn btn-primary mr-2" @click="$emit('save', blocker)">
<span v-if="isNew">Create</span>
<span v-else>Save</span>
<span>Save</span>
</button>
<button class="btn btn-danger" @click="$emit('cancel')">
<span>Cancel</span>
@@ -144,12 +144,6 @@ export default {
async createBlocker (blocker) {
await this.$store.dispatch('blockers:createBlocker', { blocker });
this.showCreateForm = false;
this.newBlocker = {
type: '',
area: '',
value: '',
reason: '',
};
this.loadBlockers();
},