Changes the default selection on Trash Dialog (#581)

* Changes the default selection on Trash Dialog

Changed the default option to a safer one. See #541 point 2.

* make trash button default

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
pull/613/head
Shakil-Shahadat 2021-01-21 23:47:05 +06:00 zatwierdzone przez GitHub
rodzic 803008b053
commit be2f816a40
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -210,13 +210,12 @@ export async function cleanupFilesDialog() {
icon: 'warning',
title: i18n.t('Cleanup files?'),
input: 'radio',
inputValue: 'all',
inputValue: 'tmpFiles',
text: i18n.t('Do you want to move the original file and/or any generated files to trash?'),
confirmButtonText: i18n.t('Trash'),
confirmButtonColor: '#d33',
showCancelButton: true,
cancelButtonText: i18n.t('Cancel'),
focusCancel: true,
customClass: { input: 'swal2-losslesscut-radio' },
inputOptions: {
tmpFiles: i18n.t('Trash auto-generated files'),