fix bug for tag-retention

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
AllForNothing 2019-07-31 17:43:07 +08:00
parent 8cc9314984
commit d90513ff1a

View File

@ -68,7 +68,7 @@ export class AddRuleComponent implements OnInit, OnDestroy {
}
set num(num) {
this.rule.params[this.template] = num;
this.rule.params[this.template] = parseInt(num, 10);
}
get repoSelect() {