forked from extern/egroupware
Calendar: Make sure we don't accidentally double the integrated app in the list
This commit is contained in:
parent
0685005f41
commit
bff73eb0b6
@ -861,10 +861,14 @@ export class CalendarApp extends EgwApp
|
||||
|
||||
if(action.checked)
|
||||
{
|
||||
integration_preference.push(app);
|
||||
if(integration_preference.indexOf(app) === -1)
|
||||
{
|
||||
integration_preference.push(app);
|
||||
}
|
||||
|
||||
// After the preference change is done, get new info which should now include the app
|
||||
callback = callback ? callback : function() {
|
||||
callback = callback ? callback : function()
|
||||
{
|
||||
this._fetch_data(this.state);
|
||||
}.bind(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user