Small fix for reviewer account
and remove feed links for now
This commit is contained in:
parent
2b1a6f203f
commit
61c8ed5604
4 changed files with 14 additions and 12 deletions
|
@ -8,12 +8,12 @@
|
|||
<i class="square fa-duotone fa-address-book"></i>
|
||||
<span>Address Directory</span>
|
||||
</a>
|
||||
@if (State.IsAuthorized) {
|
||||
@* @if (State.IsAuthorized) {
|
||||
<a class="m s row" href="/feed">
|
||||
<i class="square fa-solid fa-list-timeline"></i>
|
||||
<span>Feed</span>
|
||||
</a>
|
||||
}
|
||||
} *@
|
||||
@foreach (AddressResponseData address in State.AddressList ?? new List<AddressResponseData>()) {
|
||||
<a class="row @(address == State.SelectedAddress ? "active" : "")" @onclick="() => State.SelectedAddress = address">
|
||||
<img class="tiny circle avatar" src="https://profiles.cache.lol/@address.Address/picture" alt="@address.Address" />
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
<i class="square fa-duotone fa-address-book"></i>
|
||||
<div class="label">Address Directory</div>
|
||||
</NavLink>
|
||||
<AuthorizeView>
|
||||
@* <AuthorizeView>
|
||||
<Authorized>
|
||||
<NavLink class="l nav-link" href="/feed">
|
||||
<i class="square fa-solid fa-list-timeline"></i>
|
||||
<div class="label">Feed</div>
|
||||
</NavLink>
|
||||
</Authorized>
|
||||
</AuthorizeView>
|
||||
</AuthorizeView> *@
|
|
@ -152,6 +152,8 @@ namespace Neighbourhood.omg.lol.Models {
|
|||
if (AccountInfo == null) {
|
||||
AccountInfo = await api.AccountInfo();
|
||||
if (AccountInfo != null) {
|
||||
// quick fix for users without names (such as the review account)
|
||||
if(AccountInfo.Name == null) AccountInfo.Name = AccountInfo.Email.Split('@').FirstOrDefault() ?? "person";
|
||||
Preferences.Default.Set("accountdetails", JsonSerializer.Serialize(AccountInfo));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,19 +43,19 @@
|
|||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-maccatalyst|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android34.0|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<AndroidKeyStore>True</AndroidKeyStore>
|
||||
<AndroidSigningKeyStore>D:\Neighbourhood.omg.lol\neighbourhood.omg.lol.keystore</AndroidSigningKeyStore>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
|
@ -66,31 +66,31 @@
|
|||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-windows10.0.19041.0|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-maccatalyst|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android34.0|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-windows10.0.19041.0|AnyCPU'">
|
||||
<ApplicationId>au.death.lol.omg.neighbourhood</ApplicationId>
|
||||
<ApplicationDisplayVersion>0.9.0</ApplicationDisplayVersion>
|
||||
<ApplicationDisplayVersion>0.9.1</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>2</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
Loading…
Reference in a new issue