test เผยแพร่
This commit is contained in:
parent
3a6d359a06
commit
5c5fc08269
4 changed files with 22 additions and 22 deletions
|
|
@ -65,8 +65,7 @@ export class PermissionProfileController extends Controller {
|
|||
|
||||
if (!request.user.role.includes("SUPER_ADMIN")) {
|
||||
rootId =
|
||||
orgRevisionActive?.posMasters?.filter((x) => x.next_holderId == profile.id)[0]
|
||||
// orgRevisionActive?.posMasters?.filter((x) => x.current_holderId == profile.id)[0]
|
||||
orgRevisionActive?.posMasters?.filter((x) => x.current_holderId == profile.id)[0]
|
||||
?.orgRootId || null;
|
||||
if (!rootId) return new HttpSuccess([]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue