Merge pull request #1961 from mohammadamer/master

This commit is contained in:
Hugo Bernier 2021-07-14 15:46:29 -04:00 committed by GitHub
commit b821678949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -8,8 +8,8 @@
"longDescription": [
"This Web Part allows you to manage events in a calendar. Uses a list of existing calendars on any website. The location and name of the list and the dates of the events to be displayed are defined in the properties of the web part."
],
"creationDateTime": "2020-12-04",
"updateDateTime": "2021-06-21",
"created": "2020-12-04",
"modified": "2021-07-14",
"products": [
"SharePoint",
"Office"

View File

@ -1,6 +1,6 @@
{
"name": "react-calendar",
"version": "1.0.10",
"version": "1.0.12",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -906,6 +906,12 @@ export class Event extends React.Component<IEventProps, IEventState> {
iconProps={{ iconName: 'RecurringEvent' }}
allowDisabledFocus={true}
onClick={this.onEditRecurrence}
disabled={
this.state.userPermissions.hasPermissionAdd ||
this.state.userPermissions.hasPermissionEdit
? false
: true
}
>
{strings.editRecurrenceSeries}
</DefaultButton>