mirror of
https://github.com/immich-app/immich.git
synced 2025-11-28 13:59:45 +09:00
chore(web): remove unnused property (#10820)
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
const handleDelete = async (device: SessionResponseDto) => {
|
||||
const isConfirmed = await dialogController.show({
|
||||
id: 'log-out-device',
|
||||
prompt: $t('logout_this_device_confirmation'),
|
||||
});
|
||||
|
||||
@@ -35,11 +34,7 @@
|
||||
};
|
||||
|
||||
const handleDeleteAll = async () => {
|
||||
const isConfirmed = await dialogController.show({
|
||||
id: 'log-out-all-devices',
|
||||
prompt: $t('logout_all_device_confirmation'),
|
||||
});
|
||||
|
||||
const isConfirmed = await dialogController.show({ prompt: $t('logout_all_device_confirmation') });
|
||||
if (!isConfirmed) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -78,7 +78,6 @@
|
||||
|
||||
const handleRemovePartner = async (partner: PartnerResponseDto) => {
|
||||
const isConfirmed = await dialogController.show({
|
||||
id: 'remove-partner',
|
||||
title: $t('stop_photo_sharing'),
|
||||
prompt: $t('stop_photo_sharing_description', { values: { partner: partner.name } }),
|
||||
});
|
||||
|
||||
@@ -60,11 +60,7 @@
|
||||
};
|
||||
|
||||
const handleDelete = async (key: ApiKeyResponseDto) => {
|
||||
const isConfirmed = await dialogController.show({
|
||||
id: 'delete-api-key',
|
||||
prompt: $t('delete_api_key_prompt'),
|
||||
});
|
||||
|
||||
const isConfirmed = await dialogController.show({ prompt: $t('delete_api_key_prompt') });
|
||||
if (!isConfirmed) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user