summaryrefslogtreecommitdiffstats
path: root/framework/qml/InlineAccountSwitcher.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-12-21 11:25:09 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-12-21 13:49:37 +0100
commit819c6f545087f6d636a3db5093a285401756036d (patch)
treeded6597e5dbd27f89664327247b6280988d67029 /framework/qml/InlineAccountSwitcher.qml
parent2adc4f79f0b63ec02914ae8972e4ab99bfd9779a (diff)
downloadkube-819c6f545087f6d636a3db5093a285401756036d.tar.gz
kube-819c6f545087f6d636a3db5093a285401756036d.zip
A separate accounts module that listens for the account selection, and
requests a login if necessary.
Diffstat (limited to 'framework/qml/InlineAccountSwitcher.qml')
-rw-r--r--framework/qml/InlineAccountSwitcher.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml
index de79bc09..746891f9 100644
--- a/framework/qml/InlineAccountSwitcher.qml
+++ b/framework/qml/InlineAccountSwitcher.qml
@@ -24,7 +24,7 @@ FocusScope {
24 id: root 24 id: root
25 property string currentAccount 25 property string currentAccount
26 onCurrentAccountChanged: { 26 onCurrentAccountChanged: {
27 Kube.Fabric.postMessage(Kube.Messages.accountSelection, {"account": currentAccount}); 27 Kube.Fabric.postMessage(Kube.Messages.accountSelection, {accountId: currentAccount});
28 } 28 }
29 29
30 ColumnLayout { 30 ColumnLayout {