feat: add tooltip to button for better UX (#17881)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user