mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 17:42:21 +03:00
Hide the insert working plan button while viewing services in calendar
This commit is contained in:
parent
35f914a997
commit
1f146ff21c
1 changed files with 3 additions and 1 deletions
|
@ -312,7 +312,9 @@ App.Utils.CalendarDefaultView = (function () {
|
|||
$('.provider-timezone').text(vars('timezones')[provider.timezone]);
|
||||
}
|
||||
|
||||
$('#insert-working-plan-exception').toggle(providerId !== App.Utils.CalendarDefaultView.FILTER_TYPE_ALL);
|
||||
$('#insert-working-plan-exception').toggle(
|
||||
providerId === App.Utils.CalendarDefaultView.FILTER_TYPE_PROVIDER,
|
||||
);
|
||||
|
||||
$reloadAppointments.trigger('click');
|
||||
|
||||
|
|
Loading…
Reference in a new issue