mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-27 09:03:09 +03:00
Merge pull request #1245 from JanC/1244-secreterie-providers
[1244] Fix providers not visible for secretaries
This commit is contained in:
commit
403edba15f
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ App.Components.AppointmentsModal = (function () {
|
||||||
|
|
||||||
if (
|
if (
|
||||||
vars('role_slug') === App.Layouts.Backend.DB_SLUG_SECRETARY &&
|
vars('role_slug') === App.Layouts.Backend.DB_SLUG_SECRETARY &&
|
||||||
vars('secretary_providers').indexOf(provider.id) === -1
|
vars('secretary_providers').indexOf(Number(provider.id)) === -1
|
||||||
) {
|
) {
|
||||||
return; // continue
|
return; // continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue