ES5 → 7: Use for in/of and let

This commit is contained in:
miruka
2019-07-18 05:18:13 -04:00
parent 8a38274280
commit 1fa8b70359
12 changed files with 59 additions and 77 deletions

View File

@@ -64,8 +64,7 @@ Item {
}
function showRoom(userId, category, roomId) {
var info = rooms.getWhere({userId, roomId, category}, 1)[0]
let info = rooms.getWhere({userId, roomId, category}, 1)[0]
pageStack.replace("Chat/Chat.qml", {"roomInfo": info})
}