label
This commit is contained in:
@@ -4753,7 +4753,7 @@ const AppLayout = () => {
|
|||||||
const doc = documentLookup.get(documentId) || null;
|
const doc = documentLookup.get(documentId) || null;
|
||||||
const label = doc?.title || doc?.original_name || 'this document';
|
const label = doc?.title || doc?.original_name || 'this document';
|
||||||
|
|
||||||
const confirmed = window.confirm(`Delete "${label}"? This action cannot be undone.`);
|
const confirmed = window.confirm(`Move "${label}" to trash? You can restore it from trash later.`);
|
||||||
if (!confirmed) {
|
if (!confirmed) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user