mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 04:12:22 +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]);
|
$('.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');
|
$reloadAppointments.trigger('click');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue