mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
improved form version check
This commit is contained in:
parent
161ba04367
commit
a1169de915
@ -174,7 +174,7 @@ export class FormCloudService extends BaseCloudService {
|
||||
getForm(appName: string, formKey: string, version?: number): Observable<any> {
|
||||
let url = `${this.getBasePath(appName)}/form/v1/forms/${formKey}`;
|
||||
|
||||
if (version !== undefined) {
|
||||
if (version) {
|
||||
url += `/versions/${version}`;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user