From 3251d407ea9b26e657c0d80b5858efdd54b03035 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Sun, 9 Jul 2023 19:00:32 +0530 Subject: [PATCH] mgr/dashboard: make the logs component configurable and reusable This will make the logs component easier to reuse for now in upgrade component and later, wherever we want Fixes: https://tracker.ceph.com/issues/62016 Signed-off-by: Nizamudeen A (cherry picked from commit 0243a955b8be31be89ba939f21287780fa003cc8) --- .../app/ceph/cluster/logs/logs.component.html | 25 ++++++++++++------- .../app/ceph/cluster/logs/logs.component.ts | 17 ++++++++++++- .../directives/stateful-tab.directive.spec.ts | 10 ++++++++ .../directives/stateful-tab.directive.ts | 5 +++- 4 files changed, 46 insertions(+), 11 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html index cd03f04d553..68dc0f87faf 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html @@ -4,7 +4,9 @@