Skip to content

Commit 95451a2

Browse files
committed
IOT-1416: Minor fixes from PR..
1 parent f54feae commit 95451a2

File tree

5 files changed

+3
-12
lines changed

5 files changed

+3
-12
lines changed

src/app/applications/datatarget/httppush/httppush-edit/httppush-edit.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,6 @@ <h6> {{'QUESTION.DATATARGET.RELATIONS' | translate}} </h6>
127127
</div>
128128
<div class="form-group mt-5">
129129
<button (click)="routeToDatatargets()" class="btn btn-light" type="button">{{ 'GEN.BACK' | translate}}</button>
130-
<button [disabled]="disableSaveButton()" class="btn btn-primary ml-2" type="submit">{{ submitButton }}</button>
130+
<button class="btn btn-primary ml-2" type="submit">{{ submitButton }}</button>
131131
</div>
132132
</form>

src/app/applications/datatarget/httppush/httppush-edit/httppush-edit.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,6 @@ export class HttppushEditComponent
310310
this.saveSnackService.showSavedSnack();
311311
}
312312

313-
disableSaveButton(): boolean {
314-
return false;
315-
}
316-
317313
ngOnDestroy(): void {
318314
if (this.relationSubscription) {
319315
this.relationSubscription.unsubscribe();

src/app/applications/datatarget/opendatadk/opendatadk-detail/opendatadk-detail.component.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
{{openDataDkDataset.keywords ? openDataDkDataset.keywords : ('OPENDATADK.DETAILS.NA' | translate) }}
1919
</p>
2020

21-
<!-- <p>
22-
<strong>{{ 'OPENDATADK.DETAILS.LICENSE' | translate }}</strong>
23-
{{openDataDkDataset.license}}
24-
</p> -->
25-
2621
<p>
2722
<strong>{{ 'OPENDATADK.DETAILS.AUTHORNAME' | translate }}</strong>
2823
{{openDataDkDataset.authorName}}

src/app/applications/datatarget/opendatadk/opendatadk-edit/opendatadk-edit.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
<!-- Keywords -->
246246
<div class="row mb-2">
247247
<div class="form-group mt-3 col-12">
248-
<label class="form-label" for="openDataDkDataset.keywordsInput">
248+
<label class="form-label" for="openDataDkDataset.keywords">
249249
{{'OPENDATADK.QUESTION.GIVE-OPENDATADK-KEYWORDS' | translate}}
250250
</label>
251251
<mat-select

src/app/applications/datatarget/opendatadk/opendatadk-edit/opendatadk-edit.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export class OpendatadkEditComponent implements DatatargetEdit, OnDestroy {
262262
}
263263

264264
routeToDatatargets(): void {
265-
this.router.navigate(['applications', this.applicationId.toString()]);
265+
this.router.navigate(['applications', this.applicationId.toString(), 'data-targets']);
266266
}
267267

268268
// For mail dialog

0 commit comments

Comments
 (0)