|
|
@ -1,7 +1,7 @@ |
|
|
|
import {WidgetType, Left, Label, Button} from '@ui/index'; |
|
|
|
import {WidgetType, Left, Label, Button} from '@ui/index'; |
|
|
|
import RightTitleModel from '../../link-set.model'; |
|
|
|
import RightTitleModel from '../../link-set.model'; |
|
|
|
import {LinkType} from '@ui/type'; |
|
|
|
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 className = 'fr.component.right.title'; |
|
|
|
const Widget: WidgetType = { |
|
|
|
const Widget: WidgetType = { |
|
|
|
_store() { |
|
|
|
_store() { |
|
|
@ -12,7 +12,7 @@ const Widget: WidgetType = { |
|
|
|
const linkList: LinkType[] = this.model.linkList; |
|
|
|
const linkList: LinkType[] = this.model.linkList; |
|
|
|
const that = this; |
|
|
|
const that = this; |
|
|
|
const {isEdit} = this.options; |
|
|
|
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 { |
|
|
|
return { |
|
|
|
type: Left, |
|
|
|
type: Left, |
|
|
|