Fixed an issue where properties dialog throwing an error for Materialized View. #8209

This commit is contained in:
Akshay Joshi 2024-12-19 15:55:23 +05:30
parent 91881ad6d3
commit 6df5d14a60
2 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Version 9.0
***********
Release date: 2025-01-09
Release date: 2025-02-06
This release contains a number of bug fixes and new features since the release of pgAdmin 4 v8.14.
@ -30,5 +30,7 @@ Housekeeping
Bug fixes
*********
| `Issue #6968 <https://github.com/pgadmin-org/pgadmin4/issues/6968>`_ - Fixed an issue where option key was not registering in PSQL tool.
| `Issue #8142 <https://github.com/pgadmin-org/pgadmin4/issues/8142>`_ - Correct the documentation for the MFA configuration.
| `Issue #8208 <https://github.com/pgadmin-org/pgadmin4/issues/8208>`_ - Allow deleting the entry while creating/adding new label to enumeration type.
| `Issue #8208 <https://github.com/pgadmin-org/pgadmin4/issues/8208>`_ - Allow deleting the entry while creating/adding new label to enumeration type.
| `Issue #8209 <https://github.com/pgadmin-org/pgadmin4/issues/8209>`_ - Fixed an issue where properties dialog throwing an error for Materialized View.

View File

@ -24,7 +24,7 @@ export class VacuumTableSchema extends BaseUISchema {
id: 'value', name: 'value', label: gettext('Value'),
type: 'text', deps: [[this.valueDep]],
editable: function() {
return obj.top.sessData[this.valueDep];
return obj?.top?.sessData?.[this.valueDep];
},
cell: (state)=>{
switch(state.column_type) {