SHA256
1
0
forked from cockpit/cockpit
cockpit/hide-pcp.patch
Adam Majer e69926e261 - new version 271
https://cockpit-project.org/blog/cockpit-271.html
- cockpit-redhatfont.diff: not needed, dropped
- 0001-selinux-allow-login-to-read-motd-file.patch, hide-docs.patch,
  hide-pcp.patch remove-pwscore.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=88
2022-06-10 11:54:30 +00:00

22 lines
1.1 KiB
Diff

Index: cockpit/pkg/metrics/metrics.jsx
===================================================================
--- cockpit.orig/pkg/metrics/metrics.jsx
+++ cockpit/pkg/metrics/metrics.jsx
@@ -1234,6 +1234,7 @@ const PCPConfig = ({ buttonVariant, fire
return (
<Button variant={buttonVariant} icon={<CogIcon />}
+ className="pf-u-display-none"
isDisabled={ invalidService(s_pmlogger) || invalidService(s_pmproxy) || invalidService(s_redis) || invalidService(s_redis_server) }
onClick={show_dialog}>
{ _("Metrics settings") }
@@ -1624,7 +1625,7 @@ export const Application = () => {
<PageSection className="ct-pagesection-mobile">
<CurrentMetrics />
</PageSection>
- <PageSection className="ct-pagesection-mobile">
+ <PageSection className="pf-u-display-none">
<MetricsHistory firewalldRequest={setFirewalldRequest}
needsLogout={needsLogout}
setNeedsLogout={setNeedsLogout} />