Update event.tsx

Update popup confirmation message so the end user can get different messages when delete (All Recurrrences events) or (One Recurrence event)
This commit is contained in:
mohammadamer 2021-03-27 20:47:12 +02:00 committed by GitHub
parent 3ac7896282
commit 83e8dd1449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1191,7 +1191,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
styles: { main: { maxWidth: 450 } }
}}
>
<Label >{strings.ConfirmeDeleteMessage}</Label>
<Label>{this.state.recurrenceSeriesEdited ? strings.ConfirmeDeleteAllRecurrrencesMessage : strings.ConfirmeDeleteOneRecurrenceMessage }</Label>
{
this.state.isDeleting &&
<Spinner size={SpinnerSize.medium} ariaLabel={strings.SpinnerDeletingLabel} />