summaryrefslogtreecommitdiffstats
path: root/framework/qml/EditAccount.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/EditAccount.qml')
-rw-r--r--framework/qml/EditAccount.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml
index 8600868f..25d3dba0 100644
--- a/framework/qml/EditAccount.qml
+++ b/framework/qml/EditAccount.qml
@@ -25,7 +25,7 @@ import org.kube.framework 1.0 as Kube
25Item { 25Item {
26 id: root 26 id: root
27 property string accountId 27 property string accountId
28 property bool singleAccountMode: false 28 property bool canRemove: true
29 29
30 Kube.AccountFactory { 30 Kube.AccountFactory {
31 id: accountFactory 31 id: accountFactory
@@ -114,7 +114,7 @@ Item {
114 114
115 Kube.Button { 115 Kube.Button {
116 text: qsTr("Remove Account") 116 text: qsTr("Remove Account")
117 visible: !root.singleAccountMode 117 visible: root.canRemove
118 118
119 onClicked: { 119 onClicked: {
120 loader.item.remove() 120 loader.item.remove()