Merge pull request #756 from grafana/753-fix-live-settings-unable-to-unhide

fix live settings caching columns render
This commit is contained in:
Maxim Mordasov 2022-11-02 12:59:57 +00:00 committed by GitHub
commit 4610aeec6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,13 +89,13 @@ class LiveSettings extends React.Component<LiveSettingsProps, LiveSettingsState>
{
width: '20%',
title: 'Value',
render: this.renderValue,
render: (item: GlobalSetting) => this.renderValue(item), // to avoid caching previous render result
key: 'value',
},
{
width: '20%',
title: 'ENV or default',
render: this.renderDefault,
render: (item: GlobalSetting) => this.renderDefault(item), // to avoid caching previous render result
key: 'default',
},
{