Unverified Commit 652e47f9 authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #130 from jumpserver/dev

[Update] 修复选择系统用户bug
parents 33d73edb adf9fa5a
......@@ -104,7 +104,7 @@ export class ElementConnectComponent implements OnInit, OnDestroy {
const systemUserMaxPriority = this.filterMaxPrioritySystemUsers(systemUsers);
let user: SystemUser;
if (systemUsers.length > 1) {
if (systemUserMaxPriority.length > 1) {
return new Promise<SystemUser>(resolve => {
const dialogRef = this._dialog.open(AssetTreeDialogComponent, {
height: '250px',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment