feat: add 'Gottesdienst' button at bottom of ListView for admin
- ListView accepts admin prop and shows add button when true - Emits addGottesdienst event handled by PlanView's createGottesdienst - Dashed border style to distinguish it as an add action
This commit is contained in:
@@ -342,7 +342,9 @@ async function importZelebrationsplan() {
|
||||
:marks="getMarks()"
|
||||
:editable="plan.editable"
|
||||
:current-username="currentUsername"
|
||||
:admin="editPlanAdmin"
|
||||
@toggle-mark="toggleMark"
|
||||
@add-gottesdienst="createGottesdienst()"
|
||||
class="plan list"
|
||||
v-if="viewMode === 'list'">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user