We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b80b3f + 6f0df68 commit 4802f5aCopy full SHA for 4802f5a
portal-ui/src/screens/Console/DirectCSI/DirectCSIDrives.tsx
@@ -116,7 +116,7 @@ const DirectCSIMain = ({
116
const [notAvailable, setNotAvailable] = useState<boolean>(true);
117
118
useEffect(() => {
119
- if (loading && !notAvailable) {
+ if (loading) {
120
api
121
.invoke("GET", "/api/v1/direct-csi/drives")
122
.then((res: IDrivesResponse) => {
@@ -303,7 +303,7 @@ const DirectCSIMain = ({
303
<br />
304
</Grid>
305
<Grid item xs={12}>
306
- {notAvailable ? (
+ {(notAvailable && !loading) ? (
307
<div className={classes.notAvailableNotice}>
308
To manage locally attached drives you need to install direct-csi,
309
for more information
0 commit comments