tweaked edit mode titles
This commit is contained in:
@@ -152,7 +152,7 @@ const formRef = ref(null);
|
||||
<Dialog v-model:open="dialogOpen">
|
||||
<DialogContent class="sm:max-w-[520px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Create Event</DialogTitle>
|
||||
<DialogTitle>{{ dialogMode == "edit" ? 'Edit Event' : 'Create Event' }}</DialogTitle>
|
||||
<DialogDescription></DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
@@ -267,7 +267,7 @@ const formRef = ref(null);
|
||||
</form>
|
||||
|
||||
<DialogFooter>
|
||||
<Button type="submit" form="dialogForm">Create</Button>
|
||||
<Button type="submit" form="dialogForm">{{ dialogMode == "edit" ? 'Update' : 'Create' }}</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
|
||||
Reference in New Issue
Block a user