File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ it("renders topbar unchanged", () => {
3131it ( "renders nothing if pv is hidden" , ( ) => {
3232 const aBlock : IfcBlock = { pvaddress : "SOME:PV" , visible : false } ;
3333 const { container } = render (
34- < Block pv = { aBlock } instName = { "" } showHiddenBlocks = { false } /> ,
34+ < Block pv = { aBlock } instName = { "ANINST " } showHiddenBlocks = { false } /> ,
3535 {
3636 container : tableBody ,
3737 } ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default function Block({
1818 string | number | undefined
1919 > ( ) ;
2020 const [ showAdvanced , setShowAdvanced ] = useState ( false ) ;
21- if ( ! pv . visible && ! showHiddenBlocks && ! instName ) {
21+ if ( ! pv . visible && ! showHiddenBlocks ) {
2222 return null ;
2323 }
2424 if ( pv . value != currentValue ) {
You can’t perform that action at this time.
0 commit comments