Merge pull request #1245 from JanC/1244-secreterie-providers

[1244] Fix providers not visible for secretaries
This commit is contained in:
Alex Tselegidis 2022-05-10 13:51:44 +02:00 committed by GitHub
commit 403edba15f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -360,7 +360,7 @@ App.Components.AppointmentsModal = (function () {
if (
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
}