Skip to content

Commit

Permalink
apply some minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Sep 27, 2024
1 parent fd9ad1b commit 9fefc49
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion backend/FwLite/FwLiteDesktop/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public MainPage(IOptionsMonitor<LocalWebAppConfig> options, ILogger<MainPage> lo
private void NavigationSuccess()
{
webView.IsVisible = true;
//not currently working
if (_environment.IsDevelopment())
{
_logger.LogInformation("Enabling dev mode in browser");
Expand Down
2 changes: 0 additions & 2 deletions backend/FwLite/LocalWebApp/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
},
"AllowedHosts": "*",
"LcmCrdt": {
// this is a comment because it starts with //

// uncomment the following line to set the path where sqlite files are loaded and saved.
// by default windows uses AppData\Local\SIL\FwLiteDesktop
//"ProjectPath": ""
Expand Down
2 changes: 1 addition & 1 deletion frontend/viewer/src/lib/layout/ViewOptionsDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<Button variant="fill-light" color="primary" loading={uploading} on:click={upload} icon={mdiBookArrowUpOutline}>
Upload to {server.displayName}
</Button>
{:else if !isUploaded && !server.loggedIn}
{:else if $projectServer && !isUploaded && !server.loggedIn}
<!--todo after login we are sent home, should be sent back to the current project-->
<Button variant="fill" href="/api/auth/login/{server.authority}">Login</Button>
{/if}
Expand Down

0 comments on commit 9fefc49

Please sign in to comment.