Fixing up popup code.
This commit is contained in:
parent
dd0ce307f5
commit
6bd795c89b
4 changed files with 11 additions and 12 deletions
|
@ -386,9 +386,9 @@ export class MarkdownTextArea extends Component<
|
|||
let textarea: any = document.getElementById(i.id);
|
||||
autosize.update(textarea);
|
||||
pictrsDeleteToast(
|
||||
i18n.t("click_to_delete_picture").concat(' (', file.name,')'),
|
||||
i18n.t("picture_deleted").concat(' (', file.name,')'),
|
||||
i18n.t("fail_picture_deleted").concat(' (', file.name,')'),
|
||||
`${i18n.t("click_to_delete_picture")}: ${file.name}`,
|
||||
`${i18n.t("picture_deleted")}: ${file.name}`,
|
||||
`${i18n.t("failed_to_delete_picture")}: ${file.name}`,
|
||||
deleteUrl
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue