Skip to content

Commit

Permalink
fix(vue3): update to new template syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Feb 26, 2023
1 parent b7e1528 commit b839955
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@ jobs:
- name: Build Vue3 Components
run: |
mkdir -p trame_vuetify/module/vue3-serve
mkdir -p trame_vuetify/module/vue3-serve/{fonts,css}
cd trame_vuetify/module/vue3-serve
curl https://cdn.jsdelivr.net/npm/vuetify@3.1.3/dist/vuetify.min.css -Lo vuetify3.css
curl https://cdn.jsdelivr.net/npm/vuetify@3.1.3/dist/vuetify.min.js -Lo vuetify3.js
curl https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css -Lo css/mdi.css
curl https://cdn.jsdelivr.net/npm/@mdi/font@5.x/fonts/materialdesignicons-webfont.woff2 -Lo fonts/materialdesignicons-webfont.woff2
- name: Python Semantic Release
uses: relekang/python-semantic-release@master
Expand Down
6 changes: 3 additions & 3 deletions trame_vuetify/ui/vuetify3.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, _server, template_name="main", **kwargs):
) as footer:
self.footer = footer
vuetify3.VProgressCircular(
indeterminate=("!!trame__busy.value",),
indeterminate=("!!trame__busy",),
color="#04a94d",
size=16,
width=3,
Expand Down Expand Up @@ -170,7 +170,7 @@ def __init__(
disable_route_watcher=True,
permanent=True,
location="left",
v_model=(f"{drawer_name}.value", {drawer_name: show_drawer}),
v_model=(f"{drawer_name}", {drawer_name: show_drawer}),
width=width,
)
self.icon.click = f"{drawer_name}.value = !{drawer_name}.value"
self.icon.click = f"{drawer_name} = !{drawer_name}"

0 comments on commit b839955

Please sign in to comment.