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 @@ -45,7 +45,6 @@ import GenerationAttributes from '../AssetAttribute/Generation';
4545import StationAuxAttributes from '../AssetAttribute/StationAux' ;
4646import StationBatteryAttributes from '../AssetAttribute/StationBattery' ;
4747import ChannelSelector from './ChannelSelector' ;
48- import LocationDrawingsButton from '../CommonComponents/LocationDrawingsButton' ;
4948
5049declare var homePath : string ;
5150
@@ -482,11 +481,6 @@ export default function AssetPage(props: IProps) {
482481 < li className = "nav-item" style = { { width : '20%' , paddingRight : 10 } } >
483482 < fieldset className = "border" style = { { padding : '10px' , height : '100%' } } >
484483 < legend className = "w-auto" style = { { fontSize : 'large' } } > Actions:</ legend >
485- < form >
486- < div className = "form-group" >
487- < LocationDrawingsButton Locations = { locations } />
488- </ div >
489- </ form >
490484 </ fieldset >
491485 </ li >
492486 </ AssetSelect >
You can’t perform that action at this time.
0 commit comments