File tree Expand file tree Collapse file tree
Source/Applications/SystemCenter/wwwroot/Scripts/TSX/SystemCenter/Meter/PropertyUI Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ import { CreateGuid } from '@gpa-gemstone/helper-functions';
3333interface IProps {
3434 Locations : OpenXDA . Types . Location [ ] ;
3535}
36- type dropdownOption = { Label : string ; Callback : ( ) => void ; Disabled : boolean ; }
3736
3837const LocationDrawings = ( props : IProps ) => {
3938 const dispatch = useAppDispatch ( ) ;
@@ -59,8 +58,8 @@ const LocationDrawings = (props: IProps) => {
5958 setShowDropdown ( props . Locations . length > 1 ) ;
6059 } , [ props . Locations ] )
6160
62- function dropdownOptions ( ) : dropdownOption [ ] {
63- const options : dropdownOption [ ] = [ ] ;
61+ function dropdownOptions ( ) : { Label : string ; Callback : ( ) => void ; Disabled : boolean ; } [ ] {
62+ const options : { Label : string ; Callback : ( ) => void ; Disabled : boolean ; } [ ] = [ ] ;
6463 const labels : string [ ] = props . Locations . map ( loc => loc . Name ) ;
6564 labels . forEach ( ( label , index ) => {
6665 options . push ( {
You can’t perform that action at this time.
0 commit comments