Commit ff5c13cb authored by Alexandre Goldstein's avatar Alexandre Goldstein
Browse files

fix display bug + fix trads + disable btn 'remove All' if table empty

parent f8563ffa
Pipeline #13963 failed with stages
in 49 seconds
......@@ -1321,10 +1321,10 @@ msgid "Object"
msgstr "Objet"
msgid "Archive added to collection."
msgstr "Archive ajoutée aux favoris."
msgstr "Archive(s) ajoutée(s) aux favoris."
msgid "Archive removed from collection."
msgstr "Archive retirée des favoris."
msgstr "Archive(s) retirée(s) des favoris."
msgid "Remove All Collections"
msgstr "Supprimer tous les favoris"
......@@ -6,6 +6,13 @@
$('#deleteCollections').on('click', function() {
var collectionLength = $('#archiveList_table').DataTable().rows().count();
if (collectionLength < 1) {
ArchivesAction.updateCollection([], true, null, null);
}, 200)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment