mirror of
https://github.com/immich-app/immich.git
synced 2025-11-23 23:00:42 +09:00
fix(web): consistent modal escape behavior (#7677)
* fix(web): consistent modal escape behavior * make onClose optional
This commit is contained in:
@@ -68,8 +68,8 @@
|
||||
title="Edit date & time"
|
||||
prompt="Please select a new date:"
|
||||
disabled={!date.isValid}
|
||||
on:confirm={handleConfirm}
|
||||
on:cancel={handleCancel}
|
||||
onConfirm={handleConfirm}
|
||||
onClose={handleCancel}
|
||||
>
|
||||
<div class="flex flex-col text-md px-4 text-center gap-2" slot="prompt">
|
||||
<div class="mt-2" />
|
||||
|
||||
Reference in New Issue
Block a user