Merge pull request #8507 from AllForNothing/bug-retention

fix bug for tag-retention
This commit is contained in:
Steven Zou 2019-07-31 18:40:06 +08:00 committed by GitHub
commit c781d03c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {