You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by as...@apache.org on 2026/07/08 13:37:25 UTC
(superset) branch alexandrusoare/fix/save-modal-null-slice-admin created (now 5cc8fa9d2e7)
This is an automated email from the ASF dual-hosted git repository.
alexandrusoare pushed a change to branch alexandrusoare/fix/save-modal-null-slice-admin
in repository https://gitbox.apache.org/repos/asf/superset.git
at 5cc8fa9d2e7 small fix
This branch includes the following new commits:
new 5cc8fa9d2e7 small fix
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: small fix
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alexandrusoare pushed a commit to branch alexandrusoare/fix/save-modal-null-slice-admin
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 5cc8fa9d2e76ae1e1427143f313b8e121e78561c
Author: alexandrusoare <al...@gmail.com>
AuthorDate: Wed Jul 8 16:36:59 2026 +0300
small fix
---
superset-frontend/src/explore/components/SaveModal.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset-frontend/src/explore/components/SaveModal.tsx b/superset-frontend/src/explore/components/SaveModal.tsx
index 07523e09219..c87bb218213 100755
--- a/superset-frontend/src/explore/components/SaveModal.tsx
+++ b/superset-frontend/src/explore/components/SaveModal.tsx
@@ -229,6 +229,7 @@ const SaveModal = ({
const canOverwriteSlice = useCallback(
(): boolean =>
+ !!slice &&
(can_overwrite ||
isUserAdmin(user) ||
slice?.owners?.includes(user.userId)) &&