packages/admin/netdata/patches/002-extra-patch-web_gui_main.js.patch
breakings ddff7cbf1f
netdata: update to version 1.33.1 (#382)
- Switch to upstream's release tarball
  Requires to add PKG_BUILD_DIR since netdata is extracted to the folder
  netdata-v1.33.1 instead of the previous solution where there was
missing v

- Disable anomaly detection by default
This avoids adding a new dependencies to netdata

Fixes:
Package netdata is missing dependencies for the following libraries:
libatomic.so.1
libstdc++.so.6

- Add FreeBSD patch to have smaller package and to avoid clutter in
  WebUI

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
[add commit message, add FreeBSD patch]
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Co-authored-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-03-11 00:00:31 +08:00

16 lines
563 B
Diff

--- a/web/gui/main.js
+++ b/web/gui/main.js
@@ -759,11 +759,7 @@ function renderMyNetdataMenu(machinesArr
if (!isSignedIn()) {
if (!NETDATA.registry.isRegistryEnabled()) {
html += (
- `<div class="info-item" style="white-space: nowrap">
- <span>Please <a href="#" onclick="signInDidClick(event); return false">sign in to netdata.cloud</a> to view your nodes!</span>
- <div></div>
- </div>
- <hr />`
+ ``
);
}
}