@csmart/ngc-smart-core 1.13.11 → 1.13.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/smart-auth/smart-auth.service.mjs +7 -5
- package/esm2020/lib/smart-navbar/smart-navbar.component.mjs +2 -2
- package/fesm2015/csmart-ngc-smart-core.mjs +7 -5
- package/fesm2015/csmart-ngc-smart-core.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-core.mjs +7 -5
- package/fesm2020/csmart-ngc-smart-core.mjs.map +1 -1
- package/package.json +4 -1
|
@@ -534,7 +534,7 @@ class SmartNavbarComponent {
|
|
|
534
534
|
return false;
|
|
535
535
|
}
|
|
536
536
|
isDVIPRole(role) {
|
|
537
|
-
if (role.roleId == 'TSD' || role.roleId == 'TAD') {
|
|
537
|
+
if (role.roleId == 'TSD' || role.roleId == 'TAD' || role.roleId == 'STSD' || role.roleId == 'BC') {
|
|
538
538
|
return true;
|
|
539
539
|
}
|
|
540
540
|
return false;
|
|
@@ -1146,10 +1146,12 @@ class SmartAuthService {
|
|
|
1146
1146
|
return this.query({
|
|
1147
1147
|
query: this.findStaffQuery,
|
|
1148
1148
|
variables: {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1149
|
+
input: {
|
|
1150
|
+
where: {
|
|
1151
|
+
userName: userName,
|
|
1152
|
+
activeFlag: true,
|
|
1153
|
+
},
|
|
1154
|
+
}
|
|
1153
1155
|
},
|
|
1154
1156
|
}).pipe(take(1), map((result) => {
|
|
1155
1157
|
if (isDevMode) {
|