fix: allow deleting first time slot in availability schedule (#26448)#27569
Merged
sahitya-chandra merged 3 commits intocalcom:mainfrom Feb 7, 2026
Merged
Conversation
sahitya-chandra
requested changes
Feb 6, 2026
Member
There was a problem hiding this comment.
@abhayymishraa Can you move the trash icon to the right?
Contributor
Author
sahitya-chandra
approved these changes
Feb 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
This PR fixes a bug where users could not delete the first time slot in their availability schedule or date overrides. Previously, only slots 2 and onwards showed a trash icon; the first slot only had the "+" button.
Changes:
Show the trash (delete) button on all time slots when there are 2 or more slots, including the first one.
When there is only 1 slot, no trash button is shown (you must keep at least one slot).
Fixes Calendar override remove first time #26448
Fixes CAL-XXXX (Linear issue number - should be visible at the bottom of the GitHub issue description)
Visual Demo (For contributors especially)
A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).
Video Demo (if applicable):
Screen.Recording.2026-02-03.at.5.48.34.PM.mov
Image Demo (if applicable):
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
/availability).Checklist