Commit d8404a8c authored by Robert's avatar Robert 👽

UPD: Made action buttons into button group

parent 1847d59a
Pipeline #88748 canceled with stages
......@@ -49,24 +49,26 @@
</div>
</b-col>
<b-col cols="3" class="mb-0">
<b-button :disabled="should_edit" block variant="outline-primary"
:id="'button-edit-action-' + index"
@click="editElement(element)">
<font-awesome-icon :icon="['far', 'edit']"/>
</b-button>
<b-tooltip placement="left" :target="'button-edit-action-' + index"
triggers="hover" variant="primary" container="sidebar">
Aktion bearbeiten
</b-tooltip>
<b-button block variant="outline-danger"
:id="'button-delete-action-' + index"
@click="$store.commit('removeTransactionElement', element)">
<font-awesome-icon :icon="['far', 'trash-alt']"/>
</b-button>
<b-tooltip placement="left" :target="'button-delete-action-' + index"
triggers="hover" variant="danger" container="sidebar">
Aktion löschen
</b-tooltip>
<b-button-group vertical>
<b-button :disabled="should_edit" block variant="outline-primary"
:id="'button-edit-action-' + index"
@click="editElement(element)">
<font-awesome-icon :icon="['far', 'edit']"/>
</b-button>
<b-tooltip placement="left" :target="'button-edit-action-' + index"
triggers="hover" variant="primary" container="sidebar">
Aktion bearbeiten
</b-tooltip>
<b-button block variant="outline-danger"
:id="'button-delete-action-' + index"
@click="$store.commit('removeTransactionElement', element)">
<font-awesome-icon :icon="['far', 'trash-alt']"/>
</b-button>
<b-tooltip placement="left" :target="'button-delete-action-' + index"
triggers="hover" variant="danger" container="sidebar">
Aktion löschen
</b-tooltip>
</b-button-group>
</b-col>
</b-row>
</b-card-body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment