feat: add tooltip to button for better UX (#17881)

This commit is contained in:
Benny Joo authored and GitHub committed 2024-11-27 15:47:08 +00:00
1 parent a7e99f3674
commit ab9b6024bb
2 files changed
+6 -1

No files matched your search

@@ -210,7 +210,11 @@ const GeneralView = ({ currentOrg, isAdminOrOwner, localeProp }: GeneralViewProp
</div>
<SectionBottomActions align="end">
<Button disabled={isDisabled} color="primary" type="submit">
<Button
disabled={isDisabled}
color="primary"
type="submit"
tooltip={!isAdminOrOwner ? t("owner_permission_needed") : undefined}>
{t("update")}
</Button>
</SectionBottomActions>