Use ES6 template strings
This commit is contained in:
@@ -116,7 +116,7 @@ Item {
|
||||
}
|
||||
|
||||
function showPage(name, properties={}) {
|
||||
let path = "Pages/" + name + ".qml"
|
||||
let path = `Pages/${name}.qml`
|
||||
_show(path, properties)
|
||||
|
||||
window.uiState.page = path
|
||||
|
Reference in New Issue
Block a user