From c342b6a56030bff002f6dc2bbe76ccd07e8948f0 Mon Sep 17 00:00:00 2001 From: kunw Date: Fri, 9 Jun 2017 10:54:27 +0800 Subject: [PATCH] Update for rule creation and styles. --- src/ui_ng/lib/src/replication/replication.component.html.ts | 2 +- src/ui_ng/lib/src/replication/replication.component.ts | 3 --- .../repository-stackview/repository-stackview.component.css.ts | 1 - src/ui_ng/lib/src/repository/repository.component.css.ts | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ui_ng/lib/src/replication/replication.component.html.ts b/src/ui_ng/lib/src/replication/replication.component.html.ts index e37406d789..9c8f4984c8 100644 --- a/src/ui_ng/lib/src/replication/replication.component.html.ts +++ b/src/ui_ng/lib/src/replication/replication.component.html.ts @@ -3,7 +3,7 @@ export const REPLICATION_TEMPLATE: string = `
- +
diff --git a/src/ui_ng/lib/src/replication/replication.component.ts b/src/ui_ng/lib/src/replication/replication.component.ts index e09447d643..06f42e638c 100644 --- a/src/ui_ng/lib/src/replication/replication.component.ts +++ b/src/ui_ng/lib/src/replication/replication.component.ts @@ -114,9 +114,6 @@ export class ReplicationComponent implements OnInit { } ngOnInit() { - if(!this.projectId) { - this.errorHandler.warning('Project ID is unset.'); - } this.currentRuleStatus = this.ruleStatus[0]; this.currentJobStatus = this.jobStatus[0]; this.currentJobSearchOption = 0; diff --git a/src/ui_ng/lib/src/repository-stackview/repository-stackview.component.css.ts b/src/ui_ng/lib/src/repository-stackview/repository-stackview.component.css.ts index b9a0b80865..fdbaab3214 100644 --- a/src/ui_ng/lib/src/repository-stackview/repository-stackview.component.css.ts +++ b/src/ui_ng/lib/src/repository-stackview/repository-stackview.component.css.ts @@ -1,7 +1,6 @@ export const REPOSITORY_STACKVIEW_STYLES: string = ` .option-right { padding-right: 16px; - margin-top: 32px; margin-bottom: 12px; } diff --git a/src/ui_ng/lib/src/repository/repository.component.css.ts b/src/ui_ng/lib/src/repository/repository.component.css.ts index fca99e94a7..f443c6a1bb 100644 --- a/src/ui_ng/lib/src/repository/repository.component.css.ts +++ b/src/ui_ng/lib/src/repository/repository.component.css.ts @@ -1,5 +1,4 @@ export const REPOSITORY_STYLE = `.option-right { padding-right: 16px; - margin-top: 32px; margin-bottom: 12px; }`; \ No newline at end of file