From 756bce9feb54a4bd649e434edb96a6ee666a7830 Mon Sep 17 00:00:00 2001 From: Daniel Tischenko Date: Tue, 25 Jul 2023 15:35:53 +0300 Subject: [PATCH] Show loading spinner while loading storage settings (to make it clear that the fields are disabled) --- ui/src/preferences/StoragePrefs.tsx | 119 ++++++++++++++++------------ 1 file changed, 67 insertions(+), 52 deletions(-) diff --git a/ui/src/preferences/StoragePrefs.tsx b/ui/src/preferences/StoragePrefs.tsx index beacf06..1d57211 100644 --- a/ui/src/preferences/StoragePrefs.tsx +++ b/ui/src/preferences/StoragePrefs.tsx @@ -89,78 +89,93 @@ export const StoragePrefs = () => { - +
+ + {!loaded && } +
- +
+ + {!loaded && } +
- +
+ + {!loaded && } +
- +
+ + {!loaded && } +
- +
+ + {!loaded && } +