Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ export class DfAdminDetailsComponent extends DfUserDetailsBaseComponent<UserProf
this.adminService
.update<GenericUpdateResponse, AdminProfile>(
this.currentProfile.id,
data,
{
...data,
password: this.userForm.value.password,
},
{
snackbarSuccess: 'admins.alerts.updateSuccess',
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/adf-services/df-service-details/df-paywall-modal.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- eslint-disable prettier/prettier -->
<div class="app-container" style="padding: 12px 20px">
<h1 mat-dialog-title style="text-align: center">Unlock Service</h1>
<mat-dialog-content>
Expand All @@ -12,8 +13,7 @@ <h4>{{ 'paywall.hostedTrial' | transloco }}</h4>
<div class="dynamic-width">
<h4>{{ 'paywall.ossVersion' | transloco }}</h4>
<p>
{{ 'paywall.signup' | transloco
}}<a
{{ 'paywall.signup' | transloco }}<a
href="https://genie.dreamfactory.com/?utm_source=platform&utm_medium=paywall&utm_campaign=hosted"
target="_blank"
>{{ 'paywall.trial' | transloco }}</a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,17 @@ export abstract class DfManageTableComponent<T>
}

viewRow(row: T): void {
this.router.navigate([`${(row as any).id}-${(row as any).name}`], {
relativeTo: this._activatedRoute,
});
// eslint-disable-next-line no-useless-escape
const regex = /\/api\-connections/;
if (this.router.url.match(regex)) {
this.router.navigate([`${(row as any).id}-${(row as any).name}`], {
relativeTo: this._activatedRoute,
});
} else {
this.router.navigate([`${(row as any).id}`], {
relativeTo: this._activatedRoute,
});
}
}

announceSortChange(sortState: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@ <h1 class="page-header">
</mat-expansion-panel>
</ng-template>
</ng-container>
</ng-template>
</ng-template>