Skip to content

Commit

Permalink
fix: fix set teamid
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Oct 18, 2024
1 parent 2e48b45 commit 7460b70
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ private void SetQueryList()
Search.TextField = StorageConst.Current.TraceId;
Search.TextValue = Search.TraceId;
}
GlobalConfig.CurrentTeamId = MasaUser.CurrentTeamId;
if (GlobalConfig.CurrentTeamId == Guid.Empty)
GlobalConfig.CurrentTeamId = MasaUser.CurrentTeamId;
if (Search.Start > DateTime.MinValue && Search.End > Search.Start)
{
SetQuickRangeKey(Search.End - Search.Start);
Expand Down Expand Up @@ -288,7 +289,7 @@ private async Task LoadProjectAsync()
}

private async Task LoadServiceTypeAsync()
{
{
List<EnviromentAppDto> projects = new();
if (!string.IsNullOrEmpty(Search.Environment))
{
Expand Down

0 comments on commit 7460b70

Please sign in to comment.