Scheduling infrastructure for absolutely everyone.
feat: add tooltip to button for better UX (#17881)
Benny Jooab9b6024bb83
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex ba1a53e7566..66ed81094fc 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -46,6 +46,7 @@"event_request_reassigned": "Your scheduled event was reassigned","event_reassigned_subtitle": "You will no longer have the event on your calendar and your round robin likelihood will not be negatively impacted","organizer": "Organizer",+ "owner_permission_needed": "You need to be an owner of the organization.","reassigned_to": "Reassigned to","need_to_reschedule_or_cancel": "Need to reschedule or cancel?","you_can_view_booking_details_with_this_url": "You can view the booking details from this url {{url}} and add the event to your calendar",diff --git a/packages/features/ee/organizations/pages/settings/general.tsx b/packages/features/ee/organizations/pages/settings/general.tsxindex 82cc86fb85e..eabbd684c85 100644--- a/packages/features/ee/organizations/pages/settings/general.tsx+++ b/packages/features/ee/organizations/pages/settings/general.tsx@@ -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>