chore(CommunityPermissions): fixed warnings introduced during integration with backend

This commit is contained in:
Michał Cieślak 2023-03-07 16:50:23 +01:00 committed by Michał
parent d813cc12b8
commit 0e92b69bc5
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ SettingsPageLayout {
readonly property string newPermissionViewState: "NEW_PERMISSION"
readonly property string permissionsViewState: "PERMISSIONS"
readonly property string editPermissionViewState: "EDIT_PERMISSION"
readonly property bool permissionsExist: permissionsModel.count > 0
readonly property bool permissionsExist: root.permissionsModel.count > 0
signal saveChanges
signal resetChanges

View File

@ -68,7 +68,7 @@ StatusScrollView {
ChannelsSelectionModel {
id: channelsSelectionModel
sourceModel: model.channelsListModel
sourceModel: model.channelsListModel ?? null
channelsModel: root.channelsModel
}