File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed
Presentation/Components/Pages Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ public async Task UpdateStatusAsync()
113113 await asset . UpdateStatusAsync ( AssetContext ) ;
114114 }
115115 }
116+ ValidStatus = true ;
116117 }
117118
118119 #endregion
Original file line number Diff line number Diff line change @@ -46,12 +46,16 @@ public WebserverConnection(WebserverConnection copy)
4646 /// <summary>
4747 /// Convert to url
4848 /// </summary>
49- public string ToUrl ( ) =>
50- string . IsNullOrWhiteSpace ( BaseUrl ) ?
51- string . Empty :
52- Port != 0 ?
53- $ "{ BaseUrl } :{ Port } " :
54- BaseUrl ;
49+ public string ToUrl ( )
50+ {
51+ if ( string . IsNullOrWhiteSpace ( BaseUrl ) )
52+ {
53+ return string . Empty ;
54+ }
55+
56+ var url = BaseUrl . Trim ( ) . TrimEnd ( [ '/' , '\\ ' ] ) ;
57+ return Port == 0 ? url : $ "{ url } :{ Port } ";
58+ }
5559
5660 /// <summary>
5761 /// Test for empty connection
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >net9.0</TargetFramework >
5- <Version >0.9.0-beta.1</Version >
5+ <Version >0.9.0-beta.1.1 </Version >
66 <FileVersion >0.9.0</FileVersion >
77 <InformationalVersion ></InformationalVersion >
88 <Authors >Jani Giannoudis</Authors >
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ protected override async Task OnInitializedAsync()
279279 /// <inheritdoc />
280280 protected override async Task OnAfterRenderAsync ( bool firstRender )
281281 {
282- var updateStatus = ( firstRender || ! AssetService . ValidStatus ) && ! StatusUpdating ;
282+ var updateStatus = firstRender || ! AssetService . ValidStatus ;
283283
284284 // update status
285285 if ( updateStatus )
You can’t perform that action at this time.
0 commit comments