Fix how fallback/default buefy and vue.js versions are used

This commit is contained in:
Lance Edgar 2021-12-16 20:05:56 -06:00
parent e99c001673
commit da6c782ac3

View file

@ -164,9 +164,9 @@ def before_render(event):
# values here are "quite conservative" as of this writing, # values here are "quite conservative" as of this writing,
# perhaps too much so, but at least they should work fine. # perhaps too much so, but at least they should work fine.
renderer_globals['vue_version'] = request.rattail_config.get( renderer_globals['vue_version'] = request.rattail_config.get(
'tailbone', 'vue_version', default='2.6.10') 'tailbone', 'vue_version') or '2.6.10'
renderer_globals['buefy_version'] = request.rattail_config.get( renderer_globals['buefy_version'] = request.rattail_config.get(
'tailbone', 'buefy_version', default='0.8.6') 'tailbone', 'buefy_version') or '0.8.6'
# maybe set custom stylesheet # maybe set custom stylesheet
css = None css = None