Fixed hardcoded world id for calendar creation

This commit is contained in:
Alexis
2025-04-17 22:34:32 +02:00
parent ad8120bdd0
commit 9b4556245e
2 changed files with 15 additions and 9 deletions

View File

@@ -41,7 +41,7 @@ function handleClose() {
<PhX size="20" />
</UiButton>
<CalendarFormCreate @on-changed-name="onChangedName" @on-close="handleClose" />
<CalendarFormCreate v-if="world.id" :world-id="world.id" @on-changed-name="onChangedName" @on-close="handleClose" />
</UiAlertDialogContent>
</UiAlertDialog>
</template>