Verified Commit 6290b002 authored by Alexis Ragot's avatar Alexis Ragot
Browse files

fix archive retention rule modification

parent 861ba585
......@@ -326,7 +326,7 @@
if (retentionRuleCode) {
var retentionRuleDurationUnit = rule.retentionDuration.substr(rule.retentionDuration.length - 1, 1);
var retentionRuleDurationUnit = retentionRuleCode.duration.substr(retentionRuleCode.duration.length - 1, 1);
var retentionRuleDuration = (retentionRuleCode.duration.split(retentionRuleDurationUnit))[0].split("P");
if (rule) {
......
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