summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/LogView.qml19
1 files changed, 6 insertions, 13 deletions
diff --git a/components/kube/contents/ui/LogView.qml b/components/kube/contents/ui/LogView.qml
index 0d01ed6f..918597df 100644
--- a/components/kube/contents/ui/LogView.qml
+++ b/components/kube/contents/ui/LogView.qml
@@ -122,24 +122,17 @@ Controls.SplitView {
122 property date timestamp 122 property date timestamp
123 property string message 123 property string message
124 property string resourceId: "" 124 property string resourceId: ""
125 property string accountId: "" 125 property string accountId: retriever.currentData.accountId
126 property string accountName: "" 126 property string accountName: retriever.currentData.name
127 color: Kube.Colors.backgroundColor 127 color: Kube.Colors.backgroundColor
128 Repeater { 128
129 Kube.ModelIndexRetriever {
130 id: retriever
129 model: Kube.AccountsModel { 131 model: Kube.AccountsModel {
130 id: accountsModel
131 resourceId: details.resourceId 132 resourceId: details.resourceId
132 } 133 }
133 Item {
134 property string account: model.accountId
135 property string accountName: model.name
136 onAccountChanged: {
137 details.accountId = account
138 details.accountName = name
139 }
140 visible: false
141 }
142 } 134 }
135
143 Rectangle { 136 Rectangle {
144 anchors { 137 anchors {
145 fill: parent 138 fill: parent