diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-10 09:18:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-10 09:18:49 +0000 |
commit | dd814a7c1a8de056a79f7238578b09236edd5506 (patch) | |
tree | 429e7eed5a634a4efe9a6877ce66da8e64aa1782 /web/gui/v2/934.9dc27c5ebc538bddabb3.chunk.js | |
parent | Adding upstream version 1.41.0. (diff) | |
download | netdata-dd814a7c1a8de056a79f7238578b09236edd5506.tar.xz netdata-dd814a7c1a8de056a79f7238578b09236edd5506.zip |
Adding upstream version 1.42.0.upstream/1.42.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | web/gui/v2/934.9dc27c5ebc538bddabb3.chunk.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/gui/v2/934.9dc27c5ebc538bddabb3.chunk.js b/web/gui/v2/934.9dc27c5ebc538bddabb3.chunk.js new file mode 100644 index 000000000..47b179db1 --- /dev/null +++ b/web/gui/v2/934.9dc27c5ebc538bddabb3.chunk.js @@ -0,0 +1 @@ +!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3b57f47e-141f-40f3-96c3-da040471e2c8",e._sentryDebugIdIdentifier="sentry-dbid-3b57f47e-141f-40f3-96c3-da040471e2c8")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"d3c83511ea495cef1d9f8179d5492b454e88bcc8"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[934],{64934:function(e,n,t){t.r(n),t.d(n,{Trust:function(){return d}});var r=t(29439),o=(t(74916),t(64765),t(69826),t(41539),t(31672),t(2490),t(59461),t(15306),t(92222),t(67294)),a=t(17563),c=t(15557),i=t(1043),l=t(78266),d=function(){var e=(0,o.useMemo)((function(){var e=window.location.search,n=a.parse(e);return[n.redirect_uri,n.agent_uri]})),n=(0,r.Z)(e,2),t=n[0],d=n[1],u=(0,i.So)(),f=(0,r.Z)(u,3),s=f[0],g=f[1],b=f[2],m=(0,i.aJ)({},[s]),p=(0,r.Z)(m,2),w=p[0],y=p[1];return(0,o.useEffect)((function(){var e=w.find((function(e){return e.url===d}));e&&location.replace("/api/v1/auth/account/origins/".concat(e.id,"/redirect?redirect_uri=").concat(encodeURIComponent(t),"&agent_uri=").concat(encodeURIComponent(d)))}),[t,d,w]),o.createElement(c.Layer,{full:!0},o.createElement(c.Flex,{"data-testid":"trust",alignItems:"center",justifyContent:"center",column:!0,width:"100%",height:"100%",background:"mainBackground",gap:4},o.createElement(l.H,{animate:b}),o.createElement(c.Text,{textAlign:"center"},"Do you trust ",o.createElement(c.Text,{strong:!0},d),"?"),o.createElement(c.Flex,{column:!0,gap:2,alignItems:"center"},o.createElement(c.TextBig,null,"Authorizing this URL will allow it to request your Netdata data."),o.createElement(c.Flex,{gap:2},o.createElement(c.Button,{flavour:"borderless",onClick:function(){return window.location.replace(decodeURIComponent(t))},disabled:y||b},"Cancel"),o.createElement(c.Button,{onClick:function(){return g(d)},disabled:y||b,isLoading:y||b},"Yes")))))};n.default=d}}]);
\ No newline at end of file |