diff --git a/www/datastore/Prune.js b/www/datastore/Prune.js index 42ea21bf..e4db4b6c 100644 --- a/www/datastore/Prune.js +++ b/www/datastore/Prune.js @@ -103,6 +103,10 @@ Ext.define('PBS.Datastore.PruneInputPanel', { let rule = nextRule(); for (let backup of backups) { if (backup.keep) { + if (backup.protected) { + backup.keepReason = 'protected'; + continue; + } counter[rule]++; if (rule !== 'keep-all') { backup.keepReason = rule + ': ' + counter[rule];