mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
improved form version check
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user