Browse Source

support grafana 9.4.0

pull/17/head
vargburz 2 years ago
parent
commit
b4957048cb
  1. 5
      src/panels/corpglory-dataexporter-panel/components/Panel.tsx

5
src/panels/corpglory-dataexporter-panel/components/Panel.tsx

@ -261,6 +261,7 @@ export function Panel({ width, height, timeRange, eventBus, timeZone }: Props) {
custom: { custom: {
filterable: false, filterable: false,
displayMode: 'image', displayMode: 'image',
cellOptions: { type: 'image' },
}, },
links: [ links: [
{ {
@ -330,6 +331,7 @@ export function Panel({ width, height, timeRange, eventBus, timeZone }: Props) {
custom: { custom: {
filterable: false, filterable: false,
displayMode: 'image', displayMode: 'image',
cellOptions: { type: 'image' },
}, },
links: [ links: [
{ {
@ -373,7 +375,7 @@ export function Panel({ width, height, timeRange, eventBus, timeZone }: Props) {
}, },
{ {
name: 'Delete', name: 'Delete',
type: FieldType.string, type: FieldType.other,
values: _.map(sortedTasks, (task) => { values: _.map(sortedTasks, (task) => {
switch (task.progress?.status) { switch (task.progress?.status) {
case ExportStatus.FINISHED: case ExportStatus.FINISHED:
@ -394,6 +396,7 @@ export function Panel({ width, height, timeRange, eventBus, timeZone }: Props) {
custom: { custom: {
filterable: false, filterable: false,
displayMode: 'image', displayMode: 'image',
cellOptions: { type: 'image' },
}, },
links: [ links: [
{ {

Loading…
Cancel
Save