This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.7 by this push:
new 3f61b60e0 [#5344] improvement(web): Show the type and storage location
msg for fileset (#5346)
3f61b60e0 is described below
commit 3f61b60e0d822ce604e5d8eb702cfaae7dcfbbf9
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 29 20:26:05 2024 +0800
[#5344] improvement(web): Show the type and storage location msg for
fileset (#5346)
### What changes were proposed in this pull request?
<img width="1304" alt="image"
src="https://github.com/user-attachments/assets/69c5124c-c024-4fdc-a9e4-8aa5260a02ac">
### Why are the changes needed?
N/A
Fix: #5344
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
manually
Co-authored-by: Qian Xia <[email protected]>
---
web/web/src/components/DetailsDrawer.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/web/web/src/components/DetailsDrawer.js
b/web/web/src/components/DetailsDrawer.js
index 858e2d5ab..a3cc707fa 100644
--- a/web/web/src/components/DetailsDrawer.js
+++ b/web/web/src/components/DetailsDrawer.js
@@ -143,6 +143,15 @@ const DetailsDrawer = props => {
</Grid>
)}
+ {drawerData.storageLocation && (
+ <Grid item xs={12} md={6} sx={{ mb: [0, 5] }}>
+ <Typography variant='body2' sx={{ mb: 2 }}>
+ Storage Location
+ </Typography>
+ {renderFieldText({ value: drawerData.storageLocation })}
+ </Grid>
+ )}
+
<Grid item xs={12} sx={{ mb: [0, 5] }}>
<Typography variant='body2' sx={{ mb: 2 }}>
Comment