iptdevs-design-system 3.2.137 → 3.2.138
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/core/models/user/user-rs.model.mjs +1 -1
- package/esm2020/lib/core/utils/base-service/base.service.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +4 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/user/user-rs.model.d.ts +2 -0
- package/lib/core/utils/base-service/base.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1263,6 +1263,10 @@ class BaseService {
|
|
|
1263
1263
|
let response = user === null ? '' : user.name;
|
|
1264
1264
|
return response;
|
|
1265
1265
|
}
|
|
1266
|
+
getUserCampusName() {
|
|
1267
|
+
let user = this.storageService.getCurrentUser();
|
|
1268
|
+
return user?.campus_name ?? '';
|
|
1269
|
+
}
|
|
1266
1270
|
getUserCode() {
|
|
1267
1271
|
let user = this.storageService.getCurrentUser();
|
|
1268
1272
|
let response = user === null ? -1 : user.code;
|