mchades commented on code in PR #6748:
URL: https://github.com/apache/gravitino/pull/6748#discussion_r2015802768


##########
web/web/src/app/metalakes/metalake/rightContent/tabsContent/tableView/TableView.js:
##########
@@ -336,7 +336,9 @@ const TableView = () => {
               title='Delete'
               size='small'
               sx={{ color: theme => theme.palette.error.light }}
-              onClick={() => handleDelete({ name: row.name, type: row.node, 
catalogType: row.type })}
+              onClick={() =>
+                handleDelete({ name: row.name, type: row.node, catalogType: 
row.type, inUse: row.inUse === 'true' })

Review Comment:
   Since we use force drop after checking `inUse=false`, should we obtain the 
`inUse` value from the server when checking to avoid getting outdated value 
from the web? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to