mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 06:47:01 +00:00
ea0db55361
- Updated enumerators that were defining `tokens` instead of `assets`. - Updated property names and labels. - Updated signals and components names. - Updated storybook. Fixes #8816
48 lines
1.5 KiB
QML
48 lines
1.5 KiB
QML
import QtQuick 2.14
|
|
import QtQuick.Controls 2.14
|
|
|
|
import AppLayouts.Chat.views.communities 1.0
|
|
import AppLayouts.Chat.stores 1.0
|
|
|
|
import Models 1.0
|
|
|
|
Pane {
|
|
id: root
|
|
|
|
CommunityNewPermissionView {
|
|
|
|
store: CommunitiesStore {
|
|
readonly property var assetsModel: AssetsModel {}
|
|
readonly property var collectiblesModel: CollectiblesModel {}
|
|
readonly property var channelsModel: ChannelsModel {}
|
|
|
|
function editPermission(index, holdings, permissions, channels, isPrivate) {
|
|
logs.logEvent("CommunitiesStore::editPermission - index: " + index)
|
|
}
|
|
|
|
function duplicatePermission(index) {
|
|
logs.logEvent("CommunitiesStore::duplicatePermission - index: " + index)
|
|
}
|
|
|
|
function removePermission(index) {
|
|
logs.logEvent("CommunitiesStore::removePermission - index: " + index)
|
|
}
|
|
}
|
|
|
|
rootStore: QtObject {
|
|
readonly property QtObject chatCommunitySectionModule: QtObject {
|
|
readonly property var model: ChannelsModel {}
|
|
}
|
|
|
|
readonly property QtObject mainModuleInst: QtObject {
|
|
|
|
readonly property QtObject activeSection: QtObject {
|
|
readonly property string name: "Socks"
|
|
readonly property string image: ModelsData.icons.socks
|
|
readonly property color color: "red"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|