Skip to content

Commit

Permalink
add shorttitle. tweak library name.
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Mar 2, 2024
1 parent ec5270c commit f573af2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
File renamed without changes.
8 changes: 8 additions & 0 deletions library/Models/FamilyData/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public string Title {
}
}

public string ShortTitle
{
get
{
return (Identifier != null ? Identifier + " " : "") + AccountType + (Note != null ? $" ({Note})" : "");
}
}

[JsonIgnore]
public Investment? SelectedInvestment { get; set; }
[JsonIgnore]
Expand Down
2 changes: 1 addition & 1 deletion src.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Compile Remove="api/**/*.cs;tools/**/*.cs;library/**/*.cs" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.2" PrivateAssets="all" />
<ProjectReference Include="library\library.csproj" />
<ProjectReference Include="library\25XLibrary.csproj" />
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>

Expand Down

0 comments on commit f573af2

Please sign in to comment.