Skip to content

Commit

Permalink
Merge 485dc58 into 92bca23
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-h05 authored Feb 10, 2023
2 parents 92bca23 + 485dc58 commit 3d32372
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,24 +187,24 @@
<f7-list>
<f7-list-item divider title="Things" />
<f7-list-button href="/settings/things/add" color="blue" :animate="false">
Add thing
Add Thing
</f7-list-button>
<f7-list-button @click="quickAddThing" color="blue">
Add thing (quick)
Add Thing (quick)
</f7-list-button>
<f7-list-button href="/settings/things/inbox" color="blue" :animate="false">
Inbox
</f7-list-button>
<f7-list-item divider title="Items" />
<f7-list-button href="/settings/items/add" color="blue" :animate="false">
Create item
Create Item
</f7-list-button>
<f7-list-button href="/settings/items/add-from-textual-definition" color="blue" :animate="false">
Add items (textual)
Add Items (textual)
</f7-list-button>
<f7-list-item divider title="Pages" />
<f7-list-button href="/settings/pages/layout/add" color="blue" :animate="false">
Create layout
Create layout page
</f7-list-button>
<f7-list-button href="/settings/pages/tabs/add" color="blue" :animate="false">
Create tabbed page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default {
if (!this.exprAst[key] || ctx.editmode) {
this.exprAst[key] = expr.parse(value.substring(1))
}
return expr.evaluate(this.exprAst[key], {
const evalExpr = expr.evaluate(this.exprAst[key], {
items: ctx.store,
props: this.props,
vars: ctx.vars,
Expand All @@ -143,6 +143,7 @@ export default {
dayjs: dayjs,
user: this.$store.getters.user
})
return (evalExpr === undefined) ? 'undefined' : evalExpr
} catch (e) {
return e
}
Expand Down

0 comments on commit 3d32372

Please sign in to comment.