Be able to redact our other account's events

This commit is contained in:
miruka
2020-04-03 06:13:45 -04:00
parent 8af63a304f
commit 5cb013838b
4 changed files with 46 additions and 17 deletions

View File

@@ -18,6 +18,16 @@ Item {
property bool accountsPresent:
ModelStore.get("accounts").count > 0 || py.startupAnyAccountsSaved
readonly property var accountIds: {
const ids = []
const model = ModelStore.get("accounts")
for (let i = 0; i < model.count; i++)
ids.push(model.get(i).id)
return ids
}
readonly property alias debugConsole: debugConsole
readonly property alias mainPane: mainPane
readonly property alias pageLoader: pageLoader