Commit 225682f6465a4cc2a4b8e05af0d18fea1489d7de

Authored by Kalutka Zhenya
Committed by Andrew Shvayka
1 parent 8daf57df

Update service-completion.models

... ... @@ -101,6 +101,7 @@ export const importEntityDataHref = '<a href="https://github.com/thingsboard/thi
101 101
102 102 export const importEntitiesResultInfoHref = '<a href="https://github.com/thingsboard/thingsboard/blob/master/ui-ngx/src/app/shared/models/entity.models.ts#L42">Import entities result info</a>'
103 103
  104 +export const customDialogComponentHref = '<a href="ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.component.ts:48">CustomDialogComponent</a>'
104 105
105 106 export const pageLinkArg: FunctionArg = {
106 107 name: 'pageLink',
... ... @@ -1366,7 +1367,7 @@ export const serviceCompletions: TbEditorCompletions = {
1366 1367 meta: 'function',
1367 1368 args: [
1368 1369 {name: 'template', type:'string', description: 'Template'},
1369   - {name: 'controller', type:'void', description: 'Controller'},
  1370 + {name: 'controller', type:customDialogComponentHref, description: 'Controller'},
1370 1371 {name: 'data', type:'any', description: 'Data'},
1371 1372 ],
1372 1373 return:observableReturnTypeVariable('any')
... ...