2
0
Fork 0

fix: always use configured app dist for appinfo/index page

i.e. stop trying to be smart by using the app web handler as basis for
distribution auto-lookup, since that will normally yield WuttaWeb
whereas the config should usually specify the real one
This commit is contained in:
Lance Edgar 2024-11-24 13:56:02 -06:00
parent ec75435704
commit 6fd6229a9e

View file

@ -8,10 +8,10 @@
<div class="panel-block"> <div class="panel-block">
<div style="width: 100%;"> <div style="width: 100%;">
<b-field horizontal label="Distribution"> <b-field horizontal label="Distribution">
<span>${app.get_distribution(obj=app.get_web_handler()) or f'?? - set config for `{app.appname}.app_dist`'}</span> <span>${app.get_distribution() or f'?? - set config for `{app.appname}.app_dist`'}</span>
</b-field> </b-field>
<b-field horizontal label="Version"> <b-field horizontal label="Version">
<span>${app.get_version(obj=app.get_web_handler()) or f'?? - set config for `{app.appname}.app_dist`'}</span> <span>${app.get_version() or f'?? - set config for `{app.appname}.app_dist`'}</span>
</b-field> </b-field>
<b-field horizontal label="App Title"> <b-field horizontal label="App Title">
<span>${app.get_title()}</span> <span>${app.get_title()}</span>