File tree Expand file tree Collapse file tree
Source/Applications/SystemCenter/wwwroot/Scripts/TSX/SystemCenter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,16 +118,17 @@ const LocationDrawingsButton: React.FC<LocationDrawingsButtonProps> = (props) =>
118118 < button
119119 className = { locationOptions [ 0 ] ?. Disabled ? "btn btn-primary disabled" : "btn btn-primary" }
120120 onClick = { ( ) => locationOptions [ 0 ] ?. Disabled ? null : handleClickDrawingsModal ( props . Locations [ 0 ] ) }
121+ data-tooltip = { "DrawingsModal" }
121122 onMouseEnter = { ( ) => setHover ( 'drawings' ) }
122123 onMouseLeave = { ( ) => setHover ( 'none' ) }
123124 > Open { props . Locations [ 0 ] ?. Name } Drawings
124125 </ button >
125126 < ToolTip
126127 Show = { locationOptions [ 0 ] ?. Disabled && hover === 'drawings' }
127- Position = { 'bottom ' }
128+ Position = { 'left ' }
128129 Target = { "DrawingsModal" }
129130 Zindex = { 9999 }
130- > < p > { CrossMark } { locationOptions [ 0 ] ?. ToolTipContent } </ p >
131+ > < p > { locationOptions [ 0 ] ?. ToolTipContent } </ p >
131132 </ ToolTip >
132133 </ >
133134 : < BtnDropdown
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ import GenerationAttributes from '../AssetAttribute/Generation';
4444import StationAuxAttributes from '../AssetAttribute/StationAux' ;
4545import StationBatteryAttributes from '../AssetAttribute/StationBattery' ;
4646import ChannelSelector from './ChannelSelector' ;
47- import LocationDrawingsButton from '../CommonComponents/LocationDrawingsButton' ;
4847
4948declare var homePath : string ;
5049
@@ -470,11 +469,6 @@ export default function AssetPage(props: IProps) {
470469 < li className = "nav-item" style = { { width : '20%' , paddingRight : 10 } } >
471470 < fieldset className = "border" style = { { padding : '10px' , height : '100%' } } >
472471 < legend className = "w-auto" style = { { fontSize : 'large' } } > Actions:</ legend >
473- < form >
474- < div className = "form-group" >
475- < LocationDrawingsButton Locations = { locations } />
476- </ div >
477- </ form >
478472 </ fieldset >
479473 </ li >
480474 </ AssetSelect >
You can’t perform that action at this time.
0 commit comments