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 @@ -29,7 +29,7 @@ <h3 class="paywall-contact">
>
|
<a href="mailto:info@dreamfactory.com"
>{{ 'email' | transloco }}: info@dreamfactory.com</a
>{{ 'email' | transloco }}: info&#64;dreamfactory.com</a
>
</h3>
<div #calendlyWidget class="calendly-inline-widget"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
(type === 'reset'
? 'resetPassword'
: type === 'register'
? 'registrationConfirmation'
: 'invitatonConfirmation') | transloco
? 'registrationConfirmation'
: 'invitatonConfirmation') | transloco
}}
</mat-card-title>
</mat-card-header>
Expand Down
8 changes: 3 additions & 5 deletions src/app/adf-user-management/services/df-password.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,9 @@ export class DfPasswordService {
hasSecurityQuestion = false
) {
return this.http
.post<SecurityQuestion | GenericSuccessResponse>(
URLS.USER_PASSWORD,
data,
hasSecurityQuestion ? HTTP_OPTION_LOGIN_FALSE : HTTP_OPTION_RESET_TRUE
)
.post<
SecurityQuestion | GenericSuccessResponse
>(URLS.USER_PASSWORD, data, hasSecurityQuestion ? HTTP_OPTION_LOGIN_FALSE : HTTP_OPTION_RESET_TRUE)
.pipe(
catchError(() => {
return this.http.post<SecurityQuestion | GenericSuccessResponse>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
schema.type === 'integer'
? 'number'
: schema.type === 'password'
? 'password'
: 'text'
? 'password'
: 'text'
"
[attr.aria-label]="schema.label" />
<mat-select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,10 @@ export abstract class DfManageTableComponent<T>
}

viewRow(row: T): void {
// 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,
});
}
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 @@ -24,6 +24,6 @@ <h2>{{ 'paywall.speakToHuman' | transloco }}</h2>
<h3 class="paywall-contact">
<a href="tel:+1 415-993-5877">{{ 'phone' | transloco }}: +1 415-993-5877</a> |
<a href="mailto:info@dreamfactory.com"
>{{ 'email' | transloco }}: info@dreamfactory.com</a
>{{ 'email' | transloco }}: info&#64;dreamfactory.com</a
>
</h3>
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ export class DfScriptEditorComponent implements OnInit {
}

viewLatest() {
const filePath = `${this.storageServices.find(
service => service.id === this.storageServiceId.getRawValue()
)?.name}/${this.storagePath.getRawValue()}`;
const filePath = `${
this.storageServices.find(
service => service.id === this.storageServiceId.getRawValue()
)?.name
}/${this.storagePath.getRawValue()}`;
if (filePath.endsWith('.json')) {
this.fileService
.downloadJson(filePath)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ export class DfVerbPickerComponent implements ControlValueAccessor, DoCheck {
this.type === 'number'
? (selected || []).reduce((acc: number, val: number) => acc | val, 0)
: this.type === 'verb_multiple'
? ((selected || []).map(
(v: any) => this.verbs.find(vr => vr.value === v)?.altValue ?? ''
) as Array<Verb>)
: this.verbs.find(vr => vr.value === selected)?.altValue ?? '';
? ((selected || []).map(
(v: any) =>
this.verbs.find(vr => vr.value === v)?.altValue ?? ''
) as Array<Verb>)
: this.verbs.find(vr => vr.value === selected)?.altValue ?? '';
this.onChange(total);
});
}
Expand Down