Release v0.15.7 (#1776)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@ spec:
|
||||
serviceAccountName: console-sa
|
||||
containers:
|
||||
- name: console
|
||||
image: 'minio/console:v0.15.6'
|
||||
image: 'minio/console:v0.15.7'
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
env:
|
||||
- name: CONSOLE_OPERATOR_MODE
|
||||
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: console
|
||||
image: 'minio/console:v0.15.6'
|
||||
image: 'minio/console:v0.15.7'
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
env:
|
||||
- name: CONSOLE_MINIO_SERVER
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "./static/css/main.90d417ae.css",
|
||||
"main.js": "./static/js/main.a8ff5ae1.js",
|
||||
"main.js": "./static/js/main.a0780f45.js",
|
||||
"static/js/2483.363201d7.chunk.js": "./static/js/2483.363201d7.chunk.js",
|
||||
"static/js/6914.b2d1846a.chunk.js": "./static/js/6914.b2d1846a.chunk.js",
|
||||
"static/js/8904.9f5a3be3.chunk.js": "./static/js/8904.9f5a3be3.chunk.js",
|
||||
@@ -20,7 +20,7 @@
|
||||
"static/js/6763.d86879b4.chunk.js": "./static/js/6763.d86879b4.chunk.js",
|
||||
"static/js/3543.7f1f5dd1.chunk.js": "./static/js/3543.7f1f5dd1.chunk.js",
|
||||
"static/js/4061.72744aa0.chunk.js": "./static/js/4061.72744aa0.chunk.js",
|
||||
"static/js/2249.802fef70.chunk.js": "./static/js/2249.802fef70.chunk.js",
|
||||
"static/js/2249.4862887a.chunk.js": "./static/js/2249.4862887a.chunk.js",
|
||||
"static/js/9611.48e395c5.chunk.js": "./static/js/9611.48e395c5.chunk.js",
|
||||
"static/js/2637.eb53ade1.chunk.js": "./static/js/2637.eb53ade1.chunk.js",
|
||||
"static/css/380.f0806840.chunk.css": "./static/css/380.f0806840.chunk.css",
|
||||
@@ -28,13 +28,13 @@
|
||||
"static/js/5926.6eebc955.chunk.js": "./static/js/5926.6eebc955.chunk.js",
|
||||
"static/js/701.cf1bff16.chunk.js": "./static/js/701.cf1bff16.chunk.js",
|
||||
"static/js/7821.4a20efe4.chunk.js": "./static/js/7821.4a20efe4.chunk.js",
|
||||
"static/js/2625.f0c422fd.chunk.js": "./static/js/2625.f0c422fd.chunk.js",
|
||||
"static/js/2625.86a516d1.chunk.js": "./static/js/2625.86a516d1.chunk.js",
|
||||
"static/css/9033.f0806840.chunk.css": "./static/css/9033.f0806840.chunk.css",
|
||||
"static/js/9033.c2cdc267.chunk.js": "./static/js/9033.c2cdc267.chunk.js",
|
||||
"static/css/9299.f0806840.chunk.css": "./static/css/9299.f0806840.chunk.css",
|
||||
"static/js/9299.35956104.chunk.js": "./static/js/9299.35956104.chunk.js",
|
||||
"static/js/191.80e5a168.chunk.js": "./static/js/191.80e5a168.chunk.js",
|
||||
"static/js/7585.61ec1ad6.chunk.js": "./static/js/7585.61ec1ad6.chunk.js",
|
||||
"static/js/7585.3e5e7b1c.chunk.js": "./static/js/7585.3e5e7b1c.chunk.js",
|
||||
"static/js/1836.ea648525.chunk.js": "./static/js/1836.ea648525.chunk.js",
|
||||
"static/js/4653.c79dfc48.chunk.js": "./static/js/4653.c79dfc48.chunk.js",
|
||||
"static/js/4394.dfbbe2b6.chunk.js": "./static/js/4394.dfbbe2b6.chunk.js",
|
||||
@@ -47,9 +47,9 @@
|
||||
"static/js/471.13d4a140.chunk.js": "./static/js/471.13d4a140.chunk.js",
|
||||
"static/js/483.dae2ef37.chunk.js": "./static/js/483.dae2ef37.chunk.js",
|
||||
"static/js/9467.24a0eb41.chunk.js": "./static/js/9467.24a0eb41.chunk.js",
|
||||
"static/js/6895.4e94ef43.chunk.js": "./static/js/6895.4e94ef43.chunk.js",
|
||||
"static/js/6895.4a8032ca.chunk.js": "./static/js/6895.4a8032ca.chunk.js",
|
||||
"static/js/6233.7866b56a.chunk.js": "./static/js/6233.7866b56a.chunk.js",
|
||||
"static/js/5588.2bee425e.chunk.js": "./static/js/5588.2bee425e.chunk.js",
|
||||
"static/js/5588.0717939d.chunk.js": "./static/js/5588.0717939d.chunk.js",
|
||||
"static/js/4874.96b74c82.chunk.js": "./static/js/4874.96b74c82.chunk.js",
|
||||
"static/css/1955.f0806840.chunk.css": "./static/css/1955.f0806840.chunk.css",
|
||||
"static/js/1955.54bd6485.chunk.js": "./static/js/1955.54bd6485.chunk.js",
|
||||
@@ -77,7 +77,7 @@
|
||||
"static/js/3518.c30eac83.chunk.js": "./static/js/3518.c30eac83.chunk.js",
|
||||
"static/js/2684.9b1b9065.chunk.js": "./static/js/2684.9b1b9065.chunk.js",
|
||||
"static/js/6683.0395331a.chunk.js": "./static/js/6683.0395331a.chunk.js",
|
||||
"static/js/9032.aada8549.chunk.js": "./static/js/9032.aada8549.chunk.js",
|
||||
"static/js/8350.c469b278.chunk.js": "./static/js/8350.c469b278.chunk.js",
|
||||
"static/js/2676.977e5329.chunk.js": "./static/js/2676.977e5329.chunk.js",
|
||||
"static/js/9449.877702b7.chunk.js": "./static/js/9449.877702b7.chunk.js",
|
||||
"static/js/7659.cdd8e088.chunk.js": "./static/js/7659.cdd8e088.chunk.js",
|
||||
@@ -86,7 +86,7 @@
|
||||
"static/js/8253.a8e8b608.chunk.js": "./static/js/8253.a8e8b608.chunk.js",
|
||||
"static/js/3328.8f4d30e6.chunk.js": "./static/js/3328.8f4d30e6.chunk.js",
|
||||
"static/js/1440.735f3ff6.chunk.js": "./static/js/1440.735f3ff6.chunk.js",
|
||||
"static/js/9002.0d569a45.chunk.js": "./static/js/9002.0d569a45.chunk.js",
|
||||
"static/js/9002.c288853e.chunk.js": "./static/js/9002.c288853e.chunk.js",
|
||||
"static/js/2114.ac47a792.chunk.js": "./static/js/2114.ac47a792.chunk.js",
|
||||
"static/js/711.4196799c.chunk.js": "./static/js/711.4196799c.chunk.js",
|
||||
"static/js/6901.0ba9ddfc.chunk.js": "./static/js/6901.0ba9ddfc.chunk.js",
|
||||
@@ -108,7 +108,7 @@
|
||||
"static/js/455.0ac20914.chunk.js": "./static/js/455.0ac20914.chunk.js",
|
||||
"static/js/2661.3c5e0aa7.chunk.js": "./static/js/2661.3c5e0aa7.chunk.js",
|
||||
"static/js/889.4805d401.chunk.js": "./static/js/889.4805d401.chunk.js",
|
||||
"static/js/9088.4ee624ae.chunk.js": "./static/js/9088.4ee624ae.chunk.js",
|
||||
"static/js/9088.38a46e3e.chunk.js": "./static/js/9088.38a46e3e.chunk.js",
|
||||
"static/js/247.3b7c3d22.chunk.js": "./static/js/247.3b7c3d22.chunk.js",
|
||||
"static/js/2763.da16b11a.chunk.js": "./static/js/2763.da16b11a.chunk.js",
|
||||
"static/js/3772.8f7b248e.chunk.js": "./static/js/3772.8f7b248e.chunk.js",
|
||||
@@ -147,7 +147,7 @@
|
||||
"static/js/1687.63ed48b6.chunk.js": "./static/js/1687.63ed48b6.chunk.js",
|
||||
"index.html": "./index.html",
|
||||
"main.90d417ae.css.map": "./static/css/main.90d417ae.css.map",
|
||||
"main.a8ff5ae1.js.map": "./static/js/main.a8ff5ae1.js.map",
|
||||
"main.a0780f45.js.map": "./static/js/main.a0780f45.js.map",
|
||||
"2483.363201d7.chunk.js.map": "./static/js/2483.363201d7.chunk.js.map",
|
||||
"6914.b2d1846a.chunk.js.map": "./static/js/6914.b2d1846a.chunk.js.map",
|
||||
"8904.9f5a3be3.chunk.js.map": "./static/js/8904.9f5a3be3.chunk.js.map",
|
||||
@@ -166,7 +166,7 @@
|
||||
"6763.d86879b4.chunk.js.map": "./static/js/6763.d86879b4.chunk.js.map",
|
||||
"3543.7f1f5dd1.chunk.js.map": "./static/js/3543.7f1f5dd1.chunk.js.map",
|
||||
"4061.72744aa0.chunk.js.map": "./static/js/4061.72744aa0.chunk.js.map",
|
||||
"2249.802fef70.chunk.js.map": "./static/js/2249.802fef70.chunk.js.map",
|
||||
"2249.4862887a.chunk.js.map": "./static/js/2249.4862887a.chunk.js.map",
|
||||
"9611.48e395c5.chunk.js.map": "./static/js/9611.48e395c5.chunk.js.map",
|
||||
"2637.eb53ade1.chunk.js.map": "./static/js/2637.eb53ade1.chunk.js.map",
|
||||
"380.f0806840.chunk.css.map": "./static/css/380.f0806840.chunk.css.map",
|
||||
@@ -174,13 +174,13 @@
|
||||
"5926.6eebc955.chunk.js.map": "./static/js/5926.6eebc955.chunk.js.map",
|
||||
"701.cf1bff16.chunk.js.map": "./static/js/701.cf1bff16.chunk.js.map",
|
||||
"7821.4a20efe4.chunk.js.map": "./static/js/7821.4a20efe4.chunk.js.map",
|
||||
"2625.f0c422fd.chunk.js.map": "./static/js/2625.f0c422fd.chunk.js.map",
|
||||
"2625.86a516d1.chunk.js.map": "./static/js/2625.86a516d1.chunk.js.map",
|
||||
"9033.f0806840.chunk.css.map": "./static/css/9033.f0806840.chunk.css.map",
|
||||
"9033.c2cdc267.chunk.js.map": "./static/js/9033.c2cdc267.chunk.js.map",
|
||||
"9299.f0806840.chunk.css.map": "./static/css/9299.f0806840.chunk.css.map",
|
||||
"9299.35956104.chunk.js.map": "./static/js/9299.35956104.chunk.js.map",
|
||||
"191.80e5a168.chunk.js.map": "./static/js/191.80e5a168.chunk.js.map",
|
||||
"7585.61ec1ad6.chunk.js.map": "./static/js/7585.61ec1ad6.chunk.js.map",
|
||||
"7585.3e5e7b1c.chunk.js.map": "./static/js/7585.3e5e7b1c.chunk.js.map",
|
||||
"1836.ea648525.chunk.js.map": "./static/js/1836.ea648525.chunk.js.map",
|
||||
"4653.c79dfc48.chunk.js.map": "./static/js/4653.c79dfc48.chunk.js.map",
|
||||
"4394.dfbbe2b6.chunk.js.map": "./static/js/4394.dfbbe2b6.chunk.js.map",
|
||||
@@ -193,9 +193,9 @@
|
||||
"471.13d4a140.chunk.js.map": "./static/js/471.13d4a140.chunk.js.map",
|
||||
"483.dae2ef37.chunk.js.map": "./static/js/483.dae2ef37.chunk.js.map",
|
||||
"9467.24a0eb41.chunk.js.map": "./static/js/9467.24a0eb41.chunk.js.map",
|
||||
"6895.4e94ef43.chunk.js.map": "./static/js/6895.4e94ef43.chunk.js.map",
|
||||
"6895.4a8032ca.chunk.js.map": "./static/js/6895.4a8032ca.chunk.js.map",
|
||||
"6233.7866b56a.chunk.js.map": "./static/js/6233.7866b56a.chunk.js.map",
|
||||
"5588.2bee425e.chunk.js.map": "./static/js/5588.2bee425e.chunk.js.map",
|
||||
"5588.0717939d.chunk.js.map": "./static/js/5588.0717939d.chunk.js.map",
|
||||
"4874.96b74c82.chunk.js.map": "./static/js/4874.96b74c82.chunk.js.map",
|
||||
"1955.f0806840.chunk.css.map": "./static/css/1955.f0806840.chunk.css.map",
|
||||
"1955.54bd6485.chunk.js.map": "./static/js/1955.54bd6485.chunk.js.map",
|
||||
@@ -223,7 +223,7 @@
|
||||
"3518.c30eac83.chunk.js.map": "./static/js/3518.c30eac83.chunk.js.map",
|
||||
"2684.9b1b9065.chunk.js.map": "./static/js/2684.9b1b9065.chunk.js.map",
|
||||
"6683.0395331a.chunk.js.map": "./static/js/6683.0395331a.chunk.js.map",
|
||||
"9032.aada8549.chunk.js.map": "./static/js/9032.aada8549.chunk.js.map",
|
||||
"8350.c469b278.chunk.js.map": "./static/js/8350.c469b278.chunk.js.map",
|
||||
"2676.977e5329.chunk.js.map": "./static/js/2676.977e5329.chunk.js.map",
|
||||
"9449.877702b7.chunk.js.map": "./static/js/9449.877702b7.chunk.js.map",
|
||||
"7659.cdd8e088.chunk.js.map": "./static/js/7659.cdd8e088.chunk.js.map",
|
||||
@@ -232,7 +232,7 @@
|
||||
"8253.a8e8b608.chunk.js.map": "./static/js/8253.a8e8b608.chunk.js.map",
|
||||
"3328.8f4d30e6.chunk.js.map": "./static/js/3328.8f4d30e6.chunk.js.map",
|
||||
"1440.735f3ff6.chunk.js.map": "./static/js/1440.735f3ff6.chunk.js.map",
|
||||
"9002.0d569a45.chunk.js.map": "./static/js/9002.0d569a45.chunk.js.map",
|
||||
"9002.c288853e.chunk.js.map": "./static/js/9002.c288853e.chunk.js.map",
|
||||
"2114.ac47a792.chunk.js.map": "./static/js/2114.ac47a792.chunk.js.map",
|
||||
"711.4196799c.chunk.js.map": "./static/js/711.4196799c.chunk.js.map",
|
||||
"6901.0ba9ddfc.chunk.js.map": "./static/js/6901.0ba9ddfc.chunk.js.map",
|
||||
@@ -254,7 +254,7 @@
|
||||
"455.0ac20914.chunk.js.map": "./static/js/455.0ac20914.chunk.js.map",
|
||||
"2661.3c5e0aa7.chunk.js.map": "./static/js/2661.3c5e0aa7.chunk.js.map",
|
||||
"889.4805d401.chunk.js.map": "./static/js/889.4805d401.chunk.js.map",
|
||||
"9088.4ee624ae.chunk.js.map": "./static/js/9088.4ee624ae.chunk.js.map",
|
||||
"9088.38a46e3e.chunk.js.map": "./static/js/9088.38a46e3e.chunk.js.map",
|
||||
"247.3b7c3d22.chunk.js.map": "./static/js/247.3b7c3d22.chunk.js.map",
|
||||
"2763.da16b11a.chunk.js.map": "./static/js/2763.da16b11a.chunk.js.map",
|
||||
"3772.8f7b248e.chunk.js.map": "./static/js/3772.8f7b248e.chunk.js.map",
|
||||
@@ -294,6 +294,6 @@
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.90d417ae.css",
|
||||
"static/js/main.a8ff5ae1.js"
|
||||
"static/js/main.a0780f45.js"
|
||||
]
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.a8ff5ae1.js"></script><link href="./static/css/main.90d417ae.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.a0780f45.js"></script><link href="./static/css/main.90d417ae.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/2249.4862887a.chunk.js.map
Normal file
1
portal-ui/build/static/js/2249.4862887a.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/2625.86a516d1.chunk.js.map
Normal file
1
portal-ui/build/static/js/2625.86a516d1.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/5588.0717939d.chunk.js
Normal file
2
portal-ui/build/static/js/5588.0717939d.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/5588.0717939d.chunk.js.map
Normal file
1
portal-ui/build/static/js/5588.0717939d.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/6895.4a8032ca.chunk.js
Normal file
2
portal-ui/build/static/js/6895.4a8032ca.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/6895.4a8032ca.chunk.js.map
Normal file
1
portal-ui/build/static/js/6895.4a8032ca.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/8350.c469b278.chunk.js
Normal file
2
portal-ui/build/static/js/8350.c469b278.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8350],{9505:function(e,n,t){var a=t(70885),o=t(72791),i=t(81207);n.Z=function(e,n){var t=(0,o.useState)(!1),l=(0,a.Z)(t,2),s=l[0],r=l[1];return[s,function(t,a,o){r(!0),i.Z.invoke(t,a,o).then((function(n){r(!1),e(n)})).catch((function(e){r(!1),n(e)}))}]}},23508:function(e,n,t){var a=t(1413),o=t(72791),i=t(5574),l=t(65661),s=t(39157),r=t(97123),c=t(36151),d=t(59860),u=t(13400),m=t(29823),f=t(11135),x=t(25787),Z=t(23814),v=t(80184);n.Z=(0,x.Z)((function(e){return(0,f.Z)((0,a.Z)({},Z.Qw))}))((function(e){var n=e.isOpen,t=void 0!==n&&n,f=e.onClose,x=e.onCancel,Z=e.onConfirm,h=e.classes,p=void 0===h?{}:h,j=e.title,b=void 0===j?"":j,C=e.isLoading,g=e.confirmationContent,k=e.cancelText,N=void 0===k?"Cancel":k,T=e.confirmText,y=void 0===T?"Confirm":T,B=e.confirmButtonProps,P=void 0===B?{}:B,D=e.cancelButtonProps,S=void 0===D?{}:D,E=e.titleIcon,M=void 0===E?null:E;return(0,v.jsxs)(i.Z,{open:t,onClose:function(e,n){"backdropClick"!==n&&f()},className:p.root,sx:{"& .MuiPaper-root":{padding:"1rem 2rem 2rem 1rem"}},children:[(0,v.jsxs)(l.Z,{className:p.title,children:[(0,v.jsxs)("div",{className:p.titleText,children:[M," ",b]}),(0,v.jsx)("div",{className:p.closeContainer,children:(0,v.jsx)(u.Z,{"aria-label":"close",className:p.closeButton,onClick:f,disableRipple:!0,size:"small",children:(0,v.jsx)(m.Z,{})})})]}),(0,v.jsx)(s.Z,{className:p.content,children:g}),(0,v.jsxs)(r.Z,{className:p.actions,children:[(0,v.jsx)(c.Z,(0,a.Z)((0,a.Z)({className:p.cancelButton,onClick:x||f,disabled:C,type:"button"},S),{},{variant:"outlined",color:"primary",id:"confirm-cancel",children:N})),(0,v.jsx)(d.Z,(0,a.Z)((0,a.Z)({className:p.confirmButton,type:"button",onClick:Z,loading:C,disabled:C,variant:"outlined",color:"secondary",loadingPosition:"start",startIcon:(0,v.jsx)(o.Fragment,{}),autoFocus:!0,id:"confirm-ok"},P),{},{children:y}))]})]})}))},16502:function(e,n,t){t(72791);var a=t(11135),o=t(25787),i=t(80184);n.Z=(0,o.Z)((function(e){return(0,a.Z)({headerContainer:{backgroundColor:"#e78794",borderRadius:3,marginBottom:20,padding:1,paddingBottom:15},labelHeadline:{color:"#000000",fontSize:14,marginLeft:20},labelText:{color:"#000000",fontSize:14,marginLeft:20,marginRight:40}})}))((function(e){var n=e.classes,t=e.label,a=e.title;return(0,i.jsxs)("div",{className:n.headerContainer,children:[(0,i.jsx)("h4",{className:n.labelHeadline,children:a}),(0,i.jsx)("div",{className:n.labelText,children:t})]})}))},78350:function(e,n,t){t.r(n);var a=t(70885),o=t(72791),i=t(51691),l=t(60364),s=t(42649),r=t(21435),c=t(61889),d=t(9505),u=t(23508),m=t(74833),f=t(16502),x=t(37516),Z=t(80184),v=(0,l.$j)(null,{setErrorSnackMessage:s.Ih});n.default=v((function(e){var n=e.deleteOpen,t=e.selectedTenant,l=e.closeDeleteModalAndRefresh,s=e.setErrorSnackMessage,v=(0,o.useState)(""),h=(0,a.Z)(v,2),p=h[0],j=h[1],b=(0,o.useState)(!1),C=(0,a.Z)(b,2),g=C[0],k=C[1],N=(0,d.Z)((function(){return l(!0)}),(function(e){return s(e)})),T=(0,a.Z)(N,2),y=T[0],B=T[1];return(0,Z.jsx)(u.Z,{title:"Delete Tenant",confirmText:"Delete",isOpen:n,titleIcon:(0,Z.jsx)(m.Nv,{}),isLoading:y,onConfirm:function(){p===t.name?B("DELETE","/api/v1/namespaces/".concat(t.namespace,"/tenants/").concat(t.name),{delete_pvcs:g}):s({errorMessage:"Tenant name is incorrect",detailedError:""})},onClose:function(){return l(!1)},confirmButtonProps:{disabled:p!==t.name||y},confirmationContent:(0,Z.jsxs)(i.Z,{children:[g&&(0,Z.jsx)(c.ZP,{item:!0,xs:12,children:(0,Z.jsx)(f.Z,{title:"WARNING",label:"Delete Volumes: Data will be permanently deleted. Please proceed with caution."})}),"To continue please type ",(0,Z.jsx)("b",{children:t.name})," in the box.",(0,Z.jsxs)(c.ZP,{item:!0,xs:12,children:[(0,Z.jsx)(r.Z,{id:"retype-tenant",name:"retype-tenant",onChange:function(e){j(e.target.value)},label:"",value:p}),(0,Z.jsx)("br",{}),(0,Z.jsx)(x.Z,{checked:g,id:"delete-volumes",label:"Delete Volumes",name:"delete-volumes",onChange:function(){k(!g)},value:g})]})]})})}))},29823:function(e,n,t){var a=t(95318);n.Z=void 0;var o=a(t(45649)),i=t(80184),l=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");n.Z=l}}]);
|
||||
//# sourceMappingURL=8350.c469b278.chunk.js.map
|
||||
1
portal-ui/build/static/js/8350.c469b278.chunk.js.map
Normal file
1
portal-ui/build/static/js/8350.c469b278.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/9002.c288853e.chunk.js
Normal file
2
portal-ui/build/static/js/9002.c288853e.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/9002.c288853e.chunk.js.map
Normal file
1
portal-ui/build/static/js/9002.c288853e.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[9032],{9505:function(e,n,t){var a=t(70885),o=t(72791),i=t(81207);n.Z=function(e,n){var t=(0,o.useState)(!1),l=(0,a.Z)(t,2),s=l[0],r=l[1];return[s,function(t,a,o){r(!0),i.Z.invoke(t,a,o).then((function(n){r(!1),e(n)})).catch((function(e){r(!1),n(e)}))}]}},23508:function(e,n,t){var a=t(1413),o=t(72791),i=t(5574),l=t(65661),s=t(39157),r=t(97123),c=t(36151),d=t(59860),u=t(13400),m=t(29823),f=t(11135),x=t(25787),h=t(23814),p=t(80184);n.Z=(0,x.Z)((function(e){return(0,f.Z)((0,a.Z)({},h.Qw))}))((function(e){var n=e.isOpen,t=void 0!==n&&n,f=e.onClose,x=e.onCancel,h=e.onConfirm,v=e.classes,Z=void 0===v?{}:v,j=e.title,b=void 0===j?"":j,C=e.isLoading,g=e.confirmationContent,k=e.cancelText,N=void 0===k?"Cancel":k,T=e.confirmText,y=void 0===T?"Confirm":T,B=e.confirmButtonProps,P=void 0===B?{}:B,D=e.cancelButtonProps,S=void 0===D?{}:D,E=e.titleIcon,M=void 0===E?null:E;return(0,p.jsxs)(i.Z,{open:t,onClose:function(e,n){"backdropClick"!==n&&f()},className:Z.root,sx:{"& .MuiPaper-root":{padding:"1rem 2rem 2rem 1rem"}},children:[(0,p.jsxs)(l.Z,{className:Z.title,children:[(0,p.jsxs)("div",{className:Z.titleText,children:[M," ",b]}),(0,p.jsx)("div",{className:Z.closeContainer,children:(0,p.jsx)(u.Z,{"aria-label":"close",className:Z.closeButton,onClick:f,disableRipple:!0,size:"small",children:(0,p.jsx)(m.Z,{})})})]}),(0,p.jsx)(s.Z,{className:Z.content,children:g}),(0,p.jsxs)(r.Z,{className:Z.actions,children:[(0,p.jsx)(c.Z,(0,a.Z)((0,a.Z)({className:Z.cancelButton,onClick:x||f,disabled:C,type:"button"},S),{},{variant:"outlined",color:"primary",id:"confirm-cancel",children:N})),(0,p.jsx)(d.Z,(0,a.Z)((0,a.Z)({className:Z.confirmButton,type:"button",onClick:h,loading:C,disabled:C,variant:"outlined",color:"secondary",loadingPosition:"start",startIcon:(0,p.jsx)(o.Fragment,{}),autoFocus:!0,id:"confirm-ok"},P),{},{children:y}))]})]})}))},29032:function(e,n,t){t.r(n),t.d(n,{default:function(){return Z}});var a=t(70885),o=t(72791),i=t(51691),l=t(60364),s=t(42649),r=t(21435),c=t(61889),d=t(9505),u=t(23508),m=t(74833),f=t(11135),x=t(25787),h=t(80184),p=(0,x.Z)((function(e){return(0,f.Z)({headerContainer:{backgroundColor:"#e78794",borderRadius:3,marginBottom:20,padding:1,paddingBottom:15},labelHeadline:{color:"#000000",fontSize:14,marginLeft:20},labelText:{color:"#000000",fontSize:14,marginLeft:20,marginRight:40}})}))((function(e){var n=e.classes,t=e.label,a=e.title;return(0,h.jsxs)("div",{className:n.headerContainer,children:[(0,h.jsx)("h4",{className:n.labelHeadline,children:a}),(0,h.jsx)("div",{className:n.labelText,children:t})]})})),v=t(37516),Z=(0,l.$j)(null,{setErrorSnackMessage:s.Ih})((function(e){var n=e.deleteOpen,t=e.selectedTenant,l=e.closeDeleteModalAndRefresh,s=e.setErrorSnackMessage,f=(0,o.useState)(""),x=(0,a.Z)(f,2),Z=x[0],j=x[1],b=(0,o.useState)(!1),C=(0,a.Z)(b,2),g=C[0],k=C[1],N=(0,d.Z)((function(){return l(!0)}),(function(e){return s(e)})),T=(0,a.Z)(N,2),y=T[0],B=T[1];return(0,h.jsx)(u.Z,{title:"Delete Tenant",confirmText:"Delete",isOpen:n,titleIcon:(0,h.jsx)(m.Nv,{}),isLoading:y,onConfirm:function(){Z===t.name?B("DELETE","/api/v1/namespaces/".concat(t.namespace,"/tenants/").concat(t.name),{delete_pvcs:g}):s({errorMessage:"Tenant name is incorrect",detailedError:""})},onClose:function(){return l(!1)},confirmButtonProps:{disabled:Z!==t.name||y},confirmationContent:(0,h.jsxs)(i.Z,{children:[g&&(0,h.jsx)(c.ZP,{item:!0,xs:12,children:(0,h.jsx)(p,{title:"WARNING",label:"Delete Volumes: Data will be permanently deleted. Please proceed with caution."})}),"To continue please type ",(0,h.jsx)("b",{children:t.name})," in the box.",(0,h.jsxs)(c.ZP,{item:!0,xs:12,children:[(0,h.jsx)(r.Z,{id:"retype-tenant",name:"retype-tenant",onChange:function(e){j(e.target.value)},label:"",value:Z}),(0,h.jsx)("br",{}),(0,h.jsx)(v.Z,{checked:g,id:"delete-volumes",label:"Delete Volumes",name:"delete-volumes",onChange:function(){k(!g)},value:g})]})]})})}))},29823:function(e,n,t){var a=t(95318);n.Z=void 0;var o=a(t(45649)),i=t(80184),l=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");n.Z=l}}]);
|
||||
//# sourceMappingURL=9032.aada8549.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/9088.38a46e3e.chunk.js
Normal file
2
portal-ui/build/static/js/9088.38a46e3e.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[9088],{69088:function(e,n,t){t.r(n);var l=t(70885),i=t(72791),o=t(60364),r=t(51691),a=t(42649),s=t(9505),c=t(23508),u=t(74833),d=t(61889),m=t(21435),f=t(16502),p=t(80184),x={setErrorSnackMessage:a.Ih},b=(0,o.$j)(null,x);n.default=b((function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,o=e.selectedBucket,a=e.ruleToDelete,x=e.rulesToDelete,b=e.remainingRules,h=e.allSelected,v=e.setErrorSnackMessage,Z=e.deleteSelectedRules,j=void 0!==Z&&Z,g=(0,i.useState)(""),k=(0,l.Z)(g,2),C=k[0],N=k[1],T=(0,s.Z)((function(){return n(!0)}),(function(e){return v(e)})),y=(0,l.Z)(T,2),R=y[0],B=y[1];if(!o)return null;return(0,p.jsx)(c.Z,{title:j?"Delete Selected Replication Rules":"Delete Replication Rule",confirmText:"Delete",isOpen:t,titleIcon:(0,p.jsx)(u.Nv,{}),isLoading:R,onConfirm:function(){var e="/api/v1/buckets/".concat(o,"/replication/").concat(a);if(j){if(!h)return e="/api/v1/buckets/".concat(o,"/delete-selected-replication-rules"),void B("DELETE",e,{rules:x});e="/api/v1/buckets/".concat(o,"/delete-all-replication-rules")}else 1===b&&(e="/api/v1/buckets/".concat(o,"/delete-all-replication-rules"));B("DELETE",e)},onClose:function(){return n(!1)},confirmButtonProps:{disabled:j&&"Yes, I am sure"!==C},confirmationContent:(0,p.jsx)(r.Z,{children:j?(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(f.Z,{title:"Warning",label:"The corresponding remote buckets will also be deleted."}),"Are you sure you want to remove the selected replication rules for bucket ",(0,p.jsx)("b",{children:o}),"?",(0,p.jsx)("br",{}),(0,p.jsx)("br",{}),"To continue please type ",(0,p.jsx)("b",{children:"Yes, I am sure"})," in the box.",(0,p.jsx)(d.ZP,{item:!0,xs:12,children:(0,p.jsx)(m.Z,{id:"retype-tenant",name:"retype-tenant",onChange:function(e){N(e.target.value)},label:"",value:C})})]}):(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(f.Z,{title:"Warning",label:"The corresponding remote bucket will also be deleted."}),"Are you sure you want to delete replication rule"," ",(0,p.jsx)("b",{children:a}),"?"]})})})}))},9505:function(e,n,t){var l=t(70885),i=t(72791),o=t(81207);n.Z=function(e,n){var t=(0,i.useState)(!1),r=(0,l.Z)(t,2),a=r[0],s=r[1];return[a,function(t,l,i){s(!0),o.Z.invoke(t,l,i).then((function(n){s(!1),e(n)})).catch((function(e){s(!1),n(e)}))}]}},23508:function(e,n,t){var l=t(1413),i=t(72791),o=t(5574),r=t(65661),a=t(39157),s=t(97123),c=t(36151),u=t(59860),d=t(13400),m=t(29823),f=t(11135),p=t(25787),x=t(23814),b=t(80184);n.Z=(0,p.Z)((function(e){return(0,f.Z)((0,l.Z)({},x.Qw))}))((function(e){var n=e.isOpen,t=void 0!==n&&n,f=e.onClose,p=e.onCancel,x=e.onConfirm,h=e.classes,v=void 0===h?{}:h,Z=e.title,j=void 0===Z?"":Z,g=e.isLoading,k=e.confirmationContent,C=e.cancelText,N=void 0===C?"Cancel":C,T=e.confirmText,y=void 0===T?"Confirm":T,R=e.confirmButtonProps,B=void 0===R?{}:R,S=e.cancelButtonProps,D=void 0===S?{}:S,E=e.titleIcon,w=void 0===E?null:E;return(0,b.jsxs)(o.Z,{open:t,onClose:function(e,n){"backdropClick"!==n&&f()},className:v.root,sx:{"& .MuiPaper-root":{padding:"1rem 2rem 2rem 1rem"}},children:[(0,b.jsxs)(r.Z,{className:v.title,children:[(0,b.jsxs)("div",{className:v.titleText,children:[w," ",j]}),(0,b.jsx)("div",{className:v.closeContainer,children:(0,b.jsx)(d.Z,{"aria-label":"close",className:v.closeButton,onClick:f,disableRipple:!0,size:"small",children:(0,b.jsx)(m.Z,{})})})]}),(0,b.jsx)(a.Z,{className:v.content,children:k}),(0,b.jsxs)(s.Z,{className:v.actions,children:[(0,b.jsx)(c.Z,(0,l.Z)((0,l.Z)({className:v.cancelButton,onClick:p||f,disabled:g,type:"button"},D),{},{variant:"outlined",color:"primary",id:"confirm-cancel",children:N})),(0,b.jsx)(u.Z,(0,l.Z)((0,l.Z)({className:v.confirmButton,type:"button",onClick:x,loading:g,disabled:g,variant:"outlined",color:"secondary",loadingPosition:"start",startIcon:(0,b.jsx)(i.Fragment,{}),autoFocus:!0,id:"confirm-ok"},B),{},{children:y}))]})]})}))},16502:function(e,n,t){t(72791);var l=t(11135),i=t(25787),o=t(80184);n.Z=(0,i.Z)((function(e){return(0,l.Z)({headerContainer:{backgroundColor:"#e78794",borderRadius:3,marginBottom:20,padding:1,paddingBottom:15},labelHeadline:{color:"#000000",fontSize:14,marginLeft:20},labelText:{color:"#000000",fontSize:14,marginLeft:20,marginRight:40}})}))((function(e){var n=e.classes,t=e.label,l=e.title;return(0,o.jsxs)("div",{className:n.headerContainer,children:[(0,o.jsx)("h4",{className:n.labelHeadline,children:l}),(0,o.jsx)("div",{className:n.labelText,children:t})]})}))}}]);
|
||||
//# sourceMappingURL=9088.38a46e3e.chunk.js.map
|
||||
1
portal-ui/build/static/js/9088.38a46e3e.chunk.js.map
Normal file
1
portal-ui/build/static/js/9088.38a46e3e.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[9088],{69088:function(e,n,t){t.r(n);var o=t(70885),i=t(72791),l=t(60364),r=t(51691),s=t(42649),a=t(9505),c=t(23508),u=t(74833),d=t(61889),m=t(21435),f=t(80184),p={setErrorSnackMessage:s.Ih},x=(0,l.$j)(null,p);n.default=x((function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,l=e.selectedBucket,s=e.ruleToDelete,p=e.remainingRules,x=e.setErrorSnackMessage,v=e.deleteAllRules,Z=void 0!==v&&v,h=(0,i.useState)(""),j=(0,o.Z)(h,2),b=j[0],C=j[1],k=(0,a.Z)((function(){return n(!0)}),(function(e){return x(e)})),g=(0,o.Z)(k,2),y=g[0],N=g[1];if(!l)return null;return(0,f.jsx)(c.Z,{title:Z?"Delete all Replication Rules":"Delete Replication Rule",confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(u.Nv,{}),isLoading:y,onConfirm:function(){var e="/api/v1/buckets/".concat(l,"/replication/").concat(s);(Z||1===p)&&(e="/api/v1/buckets/".concat(l,"/delete-all-replication-rules")),N("DELETE",e)},onClose:function(){return n(!1)},confirmButtonProps:{disabled:Z&&"Yes, I am sure"!==b},confirmationContent:(0,f.jsx)(r.Z,{children:Z?(0,f.jsxs)(i.Fragment,{children:["Are you sure you want to remove all replication rules for bucket"," ",(0,f.jsx)("b",{children:l}),"?",(0,f.jsx)("br",{}),(0,f.jsx)("br",{}),"To continue please type ",(0,f.jsx)("b",{children:"Yes, I am sure"})," in the box.",(0,f.jsx)(d.ZP,{item:!0,xs:12,children:(0,f.jsx)(m.Z,{id:"retype-tenant",name:"retype-tenant",onChange:function(e){C(e.target.value)},label:"",value:b})})]}):(0,f.jsxs)(i.Fragment,{children:["Are you sure you want to delete replication rule"," ",(0,f.jsx)("b",{children:s}),"?"]})})})}))},9505:function(e,n,t){var o=t(70885),i=t(72791),l=t(81207);n.Z=function(e,n){var t=(0,i.useState)(!1),r=(0,o.Z)(t,2),s=r[0],a=r[1];return[s,function(t,o,i){a(!0),l.Z.invoke(t,o,i).then((function(n){a(!1),e(n)})).catch((function(e){a(!1),n(e)}))}]}},23508:function(e,n,t){var o=t(1413),i=t(72791),l=t(5574),r=t(65661),s=t(39157),a=t(97123),c=t(36151),u=t(59860),d=t(13400),m=t(29823),f=t(11135),p=t(25787),x=t(23814),v=t(80184);n.Z=(0,p.Z)((function(e){return(0,f.Z)((0,o.Z)({},x.Qw))}))((function(e){var n=e.isOpen,t=void 0!==n&&n,f=e.onClose,p=e.onCancel,x=e.onConfirm,Z=e.classes,h=void 0===Z?{}:Z,j=e.title,b=void 0===j?"":j,C=e.isLoading,k=e.confirmationContent,g=e.cancelText,y=void 0===g?"Cancel":g,N=e.confirmText,R=void 0===N?"Confirm":N,B=e.confirmButtonProps,T=void 0===B?{}:B,D=e.cancelButtonProps,I=void 0===D?{}:D,P=e.titleIcon,w=void 0===P?null:P;return(0,v.jsxs)(l.Z,{open:t,onClose:function(e,n){"backdropClick"!==n&&f()},className:h.root,sx:{"& .MuiPaper-root":{padding:"1rem 2rem 2rem 1rem"}},children:[(0,v.jsxs)(r.Z,{className:h.title,children:[(0,v.jsxs)("div",{className:h.titleText,children:[w," ",b]}),(0,v.jsx)("div",{className:h.closeContainer,children:(0,v.jsx)(d.Z,{"aria-label":"close",className:h.closeButton,onClick:f,disableRipple:!0,size:"small",children:(0,v.jsx)(m.Z,{})})})]}),(0,v.jsx)(s.Z,{className:h.content,children:k}),(0,v.jsxs)(a.Z,{className:h.actions,children:[(0,v.jsx)(c.Z,(0,o.Z)((0,o.Z)({className:h.cancelButton,onClick:p||f,disabled:C,type:"button"},I),{},{variant:"outlined",color:"primary",id:"confirm-cancel",children:y})),(0,v.jsx)(u.Z,(0,o.Z)((0,o.Z)({className:h.confirmButton,type:"button",onClick:x,loading:C,disabled:C,variant:"outlined",color:"secondary",loadingPosition:"start",startIcon:(0,v.jsx)(i.Fragment,{}),autoFocus:!0,id:"confirm-ok"},T),{},{children:R}))]})]})}))}}]);
|
||||
//# sourceMappingURL=9088.4ee624ae.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
3
portal-ui/build/static/js/main.a0780f45.js
Normal file
3
portal-ui/build/static/js/main.a0780f45.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/main.a0780f45.js.map
Normal file
1
portal-ui/build/static/js/main.a0780f45.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -214,13 +214,7 @@ const BucketDetails = ({
|
||||
/>
|
||||
)}
|
||||
<PageHeader
|
||||
label={
|
||||
<Fragment>
|
||||
<Link to={"/buckets"} className={classes.breadcrumLink}>
|
||||
Buckets
|
||||
</Link>
|
||||
</Fragment>
|
||||
}
|
||||
label={<BackLink to={"/buckets"} label={"Buckets"} />}
|
||||
actions={
|
||||
<Fragment>
|
||||
<Tooltip title={"Browse Bucket"}>
|
||||
@@ -237,7 +231,6 @@ const BucketDetails = ({
|
||||
</Fragment>
|
||||
}
|
||||
/>
|
||||
<BackLink to={"/buckets"} label={"Back to Buckets"} />
|
||||
<PageLayout className={classes.pageContainer}>
|
||||
<Grid item xs={12}>
|
||||
<ScreenTitle
|
||||
|
||||
@@ -88,7 +88,8 @@ const BucketReplicationPanel = ({
|
||||
useState<boolean>(false);
|
||||
const [selectedRRule, setSelectedRRule] = useState<string>("");
|
||||
const [selectedRepRules, setSelectedRepRules] = useState<string[]>([]);
|
||||
const [deleteSelectedRules, setDeleteSelectedRules] = useState<boolean>(false);
|
||||
const [deleteSelectedRules, setDeleteSelectedRules] =
|
||||
useState<boolean>(false);
|
||||
|
||||
const bucketName = match.params["bucketName"];
|
||||
|
||||
@@ -185,12 +186,10 @@ const BucketReplicationPanel = ({
|
||||
setSelectedRepRules([]);
|
||||
return;
|
||||
}
|
||||
setSelectedRepRules(replicationRules.map(x => x.id))
|
||||
setSelectedRepRules(replicationRules.map((x) => x.id));
|
||||
};
|
||||
|
||||
const selectRules = (
|
||||
e: React.ChangeEvent<HTMLInputElement>,
|
||||
) => {
|
||||
const selectRules = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
const targetD = e.target;
|
||||
const value = targetD.value;
|
||||
const checked = targetD.checked;
|
||||
@@ -207,7 +206,6 @@ const BucketReplicationPanel = ({
|
||||
return elements;
|
||||
};
|
||||
|
||||
|
||||
const replicationTableActions: any = [
|
||||
{
|
||||
type: "delete",
|
||||
|
||||
@@ -69,14 +69,14 @@ const DeleteReplicationRule = ({
|
||||
url = `/api/v1/buckets/${selectedBucket}/delete-all-replication-rules`;
|
||||
} else {
|
||||
url = `/api/v1/buckets/${selectedBucket}/delete-selected-replication-rules`;
|
||||
invokeDeleteApi("DELETE", url, {rules: rulesToDelete});
|
||||
return
|
||||
invokeDeleteApi("DELETE", url, { rules: rulesToDelete });
|
||||
return;
|
||||
}
|
||||
} else if (remainingRules === 1) {
|
||||
url = `/api/v1/buckets/${selectedBucket}/delete-all-replication-rules`;
|
||||
}
|
||||
|
||||
invokeDeleteApi("DELETE", url)
|
||||
invokeDeleteApi("DELETE", url);
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -100,13 +100,12 @@ const DeleteReplicationRule = ({
|
||||
{deleteSelectedRules ? (
|
||||
<Fragment>
|
||||
<WarningMessage
|
||||
title={"Warning"}
|
||||
label={"The corresponding remote buckets will also be deleted."}
|
||||
title={"Warning"}
|
||||
label={"The corresponding remote buckets will also be deleted."}
|
||||
/>
|
||||
Are you sure you want to remove the selected replication rules for bucket{" "}
|
||||
<b>{selectedBucket}</b>?<br />
|
||||
Are you sure you want to remove the selected replication rules for
|
||||
bucket <b>{selectedBucket}</b>?<br />
|
||||
<br />
|
||||
|
||||
To continue please type <b>Yes, I am sure</b> in the box.
|
||||
<Grid item xs={12}>
|
||||
<InputBoxWrapper
|
||||
@@ -123,8 +122,8 @@ const DeleteReplicationRule = ({
|
||||
) : (
|
||||
<Fragment>
|
||||
<WarningMessage
|
||||
title={"Warning"}
|
||||
label={"The corresponding remote bucket will also be deleted."}
|
||||
title={"Warning"}
|
||||
label={"The corresponding remote bucket will also be deleted."}
|
||||
/>
|
||||
Are you sure you want to delete replication rule{" "}
|
||||
<b>{ruleToDelete}</b>?
|
||||
|
||||
@@ -265,8 +265,7 @@ const AddBucket = ({
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<PageHeader label={"Create a Bucket"} />
|
||||
<BackLink label={"Buckets"} to={"/buckets"} />
|
||||
<PageHeader label={<BackLink to={"/buckets"} label={"Buckets"} />} />
|
||||
<PageLayout>
|
||||
<Grid item xs={12} className={classes.boxy}>
|
||||
<form
|
||||
|
||||
@@ -27,7 +27,9 @@ import { Box } from "@mui/material";
|
||||
import DriveInfoItem from "./DriveInfoItem";
|
||||
|
||||
const ServersList = ({ data }: { data: ServerInfo[] }) => {
|
||||
const [expanded, setExpanded] = React.useState<string>(data.length >1 ? "" : data[0].endpoint+"-0");
|
||||
const [expanded, setExpanded] = React.useState<string>(
|
||||
data.length > 1 ? "" : data[0].endpoint + "-0"
|
||||
);
|
||||
|
||||
const handleClick = (key: string) => {
|
||||
setExpanded(key);
|
||||
|
||||
Reference in New Issue
Block a user