This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 5502c1ae0 [#5344] improvement(web): Show the type and storage location
msg for fileset (#5345)
5502c1ae0 is described below
commit 5502c1ae08f5c788f2230fa4071b77684f139f98
Author: Qian Xia <[email protected]>
AuthorDate: Tue Oct 29 19:40:41 2024 +0800
[#5344] improvement(web): Show the type and storage location msg for
fileset (#5345)
### 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
---
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