|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
import {WidgetType, Left, Label, Button} from '@ui/index'; |
|
|
|
|
import RightTitleModel from '../../link-set.model'; |
|
|
|
|
import {LinkType} from '@ui/type'; |
|
|
|
|
import {saveConnection} from '../../link-set.service'; |
|
|
|
|
import {OTHER_CONNECT} from '../../select/select.service'; |
|
|
|
|
const className = 'fr.component.right.title'; |
|
|
|
|
const Widget: WidgetType = { |
|
|
|
|
_store() { |
|
|
|
@ -12,7 +12,7 @@ const Widget: WidgetType = {
|
|
|
|
|
const linkList: LinkType[] = this.model.linkList; |
|
|
|
|
const that = this; |
|
|
|
|
const {isEdit} = this.options; |
|
|
|
|
const title = linkSelected.text === 'other' ? BI.i18nText('Dec-Dcm_Connection_Other') : linkSelected.text; |
|
|
|
|
const title = linkSelected.text === OTHER_CONNECT ? BI.i18nText('Dec-Dcm_Connection_Other') : linkSelected.text; |
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
type: Left, |
|
|
|
|