Commit adf9fa5a authored by ibuler's avatar ibuler

[Update] 修复选择系统用户bug

parent 99ab8e18
......@@ -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