From addeedc90cdc60d67975b82f2f30f603e7925148 Mon Sep 17 00:00:00 2001 From: Dmitry Nikolaev Date: Thu, 26 Mar 2026 12:36:55 +0100 Subject: [PATCH] Fix datasource/img for checker Signed-off-by: Dmitry Nikolaev --- grafana/rmf-app/.config/bundler/copyFiles.ts | 1 + grafana/rmf-app/src/datasource/plugin.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/grafana/rmf-app/.config/bundler/copyFiles.ts b/grafana/rmf-app/.config/bundler/copyFiles.ts index 6a0703a..7610514 100644 --- a/grafana/rmf-app/.config/bundler/copyFiles.ts +++ b/grafana/rmf-app/.config/bundler/copyFiles.ts @@ -16,6 +16,7 @@ export const copyFilePatterns = [ { from: '**/*.json', to: '.' }, { from: '**/query_help.md', to: '.', noErrorOnMissing: true }, ...logoPaths.map((logoPath) => ({ from: logoPath, to: logoPath })), + ...logoPaths.map((logoPath) => ({ from: logoPath, to: `datasource/${logoPath}` })), ...screenshotPaths.map((screenshotPath) => ({ from: screenshotPath, to: screenshotPath, diff --git a/grafana/rmf-app/src/datasource/plugin.json b/grafana/rmf-app/src/datasource/plugin.json index 264c66c..af08b69 100644 --- a/grafana/rmf-app/src/datasource/plugin.json +++ b/grafana/rmf-app/src/datasource/plugin.json @@ -22,8 +22,8 @@ }, "keywords": ["ibm", "rmf"], "logos": { - "small": "img/../../img/logo.svg", - "large": "img/../../img/logo.svg" + "small": "img/logo.svg", + "large": "img/logo.svg" }, "screenshots": [], "version": "%VERSION%",