diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/SpreadsheetBootstrap.ts b/webapp/packages/plugin-data-spreadsheet-new/src/SpreadsheetBootstrap.ts index d62444e410..93a97d7654 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/SpreadsheetBootstrap.ts +++ b/webapp/packages/plugin-data-spreadsheet-new/src/SpreadsheetBootstrap.ts @@ -56,13 +56,13 @@ export class SpreadsheetBootstrap extends Bootstrap { return context.contextType === DataGridContextMenuService.cellContext; }, isHidden(context) { - return typeof context.data.actions.valuePresentationId === 'string' || context.data.simple; + return context.data.actions.valuePresentationId === 'value-text-presentation' || context.data.simple; }, order: 0.5, title: 'data_grid_table_open_value_panel', icon: 'value-panel', onClick(context) { - context.data.actions.setValuePresentation(''); + context.data.actions.setValuePresentation('value-text-presentation'); }, }); }