Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring_optim_fix #150

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
time: '5s'

- name: Restore dependencies
run: dotnet restore
run: dotnet restore src

- name: Cache SonarCloud packages
uses: actions/cache@v1
Expand Down
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sonarlint.connectedMode.project": {
"connectionId": "vscode",
"projectKey": "pfh59_eve-whmapper"
}
}
9 changes: 6 additions & 3 deletions src/WHMapper/Pages/Mapper/CustomNode/EveSystemNode.razor
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
</ChildContent>
<TooltipContent>
<MudPaper Class="d-flex flex-column flex-grow-1 gap-1" Elevation="0">
@foreach (var effectInfo in Node.EffectDetails)
@if (Node != null && Node.EffectDetails!=null)
{
<MudText class="ml-1 mr-1" Typo="Typo.caption">@effectInfo.Name. : @effectInfo.Value%</MudText>
foreach (var effectInfo in Node.EffectDetails)
{
<MudText class="ml-1 mr-1" Typo="Typo.caption">@effectInfo.Name. : @effectInfo.Value%</MudText>
}
}
</MudPaper>
</TooltipContent>
Expand Down Expand Up @@ -61,7 +64,7 @@
{
<MudIcon Icon="@Icons.Material.Filled.Group" Color=Color.Transparent Size="Size.Small" />
}
<MudText Class="align-self-stretch ml-1 mt-1" Typo="Typo.caption">@Node?.ConnectedUsers.FirstOrDefault()</MudText>
<MudText Class="align-self-stretch ml-1 mt-1" Typo="Typo.caption">@Node?.ConnectedUsers?.FirstOrDefault()</MudText>
</div>
<div Class="d-flex justify-end">
@if (Node != null && Node.Statics != null && Node?.Statics.Count() > 0)
Expand Down
Loading