From f38fff8eff3a082eaf24fbc9ca4cb1b6c9d780e2 Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Tue, 22 Oct 2019 16:04:11 +0800 Subject: [PATCH] Modify the permission when add Limited Guest Signed-off-by: Yogi_Wang --- .../create-edit-rule.component.ts | 2 +- .../replication/replication.component.html | 2 +- .../replication/replication.component.scss | 5 ++- .../repository/repository.component.spec.ts | 20 +++++------ src/portal/lib/src/tag/tag.component.spec.ts | 23 +++++++----- src/portal/lib/src/tag/tag.component.ts | 36 +++++++++---------- 6 files changed, 48 insertions(+), 40 deletions(-) diff --git a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts index 283a49ed2..0a9279a0b 100644 --- a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts +++ b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts @@ -253,7 +253,7 @@ export class CreateEditRuleComponent implements OnInit, OnDestroy { dest_registry: rule.dest_registry, trigger: rule.trigger, deletion: rule.deletion, - enabled: true, + enabled: rule.enabled, override: rule.override }); let filtersArray = this.getFilterArray(rule); diff --git a/src/portal/lib/src/replication/replication.component.html b/src/portal/lib/src/replication/replication.component.html index f02d19304..b140f27d7 100644 --- a/src/portal/lib/src/replication/replication.component.html +++ b/src/portal/lib/src/replication/replication.component.html @@ -24,7 +24,7 @@
{{'REPLICATION.REPLICATION_EXECUTIONS' | translate}}
-
+