@@ -89,46 +89,46 @@ class Topbar extends Component {
8989 switch ( this . props . topbarDialogName ) {
9090 case TOPBAR_CONSTANTS . LOAD :
9191 content = < LoadFileDialog
92- open = { this . props . openDialog }
92+ open = { this . props . dialogOpen }
9393 onRequestClose = { ( ) => this . handleClose ( ) }
9494 />
9595 break ;
9696 case TOPBAR_CONSTANTS . SAVE :
9797 content = < SaveFileDialog
98- open = { this . props . openDialog }
98+ open = { this . props . dialogOpen }
9999 onRequestClose = { ( ) => this . handleClose ( ) }
100100 />
101101 break ;
102102 case TOPBAR_CONSTANTS . IMPORT_HLS :
103103 content = < ImportExportHLSDialog
104- open = { this . props . openDialog }
104+ open = { this . props . dialogOpen }
105105 onRequestClose = { ( ) => this . handleClose ( ) }
106106 mode = { "IMPORT" } />
107107 break ;
108108 case TOPBAR_CONSTANTS . EXPORT_HLS :
109109 content = < ImportExportHLSDialog
110- open = { this . props . openDialog }
110+ open = { this . props . dialogOpen }
111111 onRequestClose = { ( ) => this . handleClose ( ) }
112112 mode = { "EXPORT" }
113113 />
114114 break ;
115115 case TOPBAR_CONSTANTS . IMPORT_CELL_TEMPLATE :
116116 content = < ImportCellParamsDialog
117- open = { this . props . openDialog }
118- cellRuleName = { this . props . dialogMetadata . cellRuleName }
117+ open = { this . props . dialogOpen }
118+ cellRuleName = { this . props . topbarDialogMetadata . cellRuleName }
119119 onRequestClose = { ( ) => this . handleClose ( ) }
120120 />
121121 break ;
122122 case TOPBAR_CONSTANTS . NEW_MODEL :
123123 content = < NewModelDialog
124- open = { this . props . openDialog }
124+ open = { this . props . dialogOpen }
125125 onRequestClose = { ( ) => this . handleClose ( ) }
126126 onAction = { ( ) => this . resetModel ( ) }
127127 />
128128 break ;
129129 case TOPBAR_CONSTANTS . UPLOAD_FILES :
130130 content = < UploadDownloadFilesDialog
131- open = { this . props . openDialog }
131+ open = { this . props . dialogOpen }
132132 onRequestClose = { ( ) => this . handleClose ( ) }
133133 openSnackBar = { message => {
134134 this . handleOpenSnackBar ( message )
@@ -137,7 +137,7 @@ class Topbar extends Component {
137137 break ;
138138 case TOPBAR_CONSTANTS . DOWNLOAD_FILES :
139139 content = < UploadDownloadFilesDialog
140- open = { this . props . openDialog }
140+ open = { this . props . dialogOpen }
141141 onRequestClose = { ( ) => this . handleClose ( ) }
142142 openSnackBar = { message => {
143143 this . handleOpenSnackBar ( message )
0 commit comments