fix: Availability Name does Not Update (#9322)
* fix: Availability Name does Not Update * fix: use i18n in navigation Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> --------- Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>pull/9240/head^2
parent
3baa6c7145
commit
f1e783f047
|
@ -178,6 +178,7 @@ function EventTypeSingleLayout({
|
|||
enabledWorkflowsNumber,
|
||||
availability,
|
||||
});
|
||||
|
||||
navigation.splice(1, 0, {
|
||||
name: "availability",
|
||||
href: `/event-types/${eventType.id}?tabName=availability`,
|
||||
|
@ -185,7 +186,7 @@ function EventTypeSingleLayout({
|
|||
info:
|
||||
isManagedEventType || isChildrenManagedEventType
|
||||
? eventType.schedule === null
|
||||
? "Member's default schedule"
|
||||
? "member_default_schedule"
|
||||
: isChildrenManagedEventType
|
||||
? `${
|
||||
eventType.scheduleName
|
||||
|
@ -193,7 +194,7 @@ function EventTypeSingleLayout({
|
|||
: `default_schedule_name`
|
||||
}`
|
||||
: eventType.scheduleName ?? `default_schedule_name`
|
||||
: `default_schedule_name`,
|
||||
: eventType.scheduleName ?? `default_schedule_name`,
|
||||
});
|
||||
// If there is a team put this navigation item within the tabs
|
||||
if (team) {
|
||||
|
|
|
@ -902,6 +902,7 @@
|
|||
"availability_updated_successfully": "{{scheduleName}} schedule updated successfully",
|
||||
"schedule_deleted_successfully": "Schedule deleted successfully",
|
||||
"default_schedule_name": "Working Hours",
|
||||
"member_default_schedule":"Member's default schedule",
|
||||
"new_schedule_heading": "Create an availability schedule",
|
||||
"new_schedule_description": "Creating availability schedules allows you to manage availability across event types. They can be applied to one or more event types.",
|
||||
"requires_ownership_of_a_token": "Requires ownership of a token belonging to the following address:",
|
||||
|
|
Loading…
Reference in New Issue