Remove old logs view from the thing context menu
parent
b9ee3554a6
commit
0ab6615db2
|
|
@ -9,7 +9,6 @@ AutoSizeMenu {
|
|||
property Thing thing: null
|
||||
|
||||
property bool showDetails: true
|
||||
property bool showLogs: true
|
||||
|
||||
Component.onCompleted: {
|
||||
if (Configuration.magicEnabled) {
|
||||
|
|
@ -20,9 +19,6 @@ AutoSizeMenu {
|
|||
root.addItem(menuEntryComponent.createObject(root, {text: qsTr("Details"), iconSource: "../images/info.svg", functionName: "openGenericThingPage"}))
|
||||
}
|
||||
// root.addItem(menuEntryComponent.createObject(root, {text: qsTr("Settings"), iconSource: "../images/configure.svg", functionName: "openThingSettingsPage"}))
|
||||
if (root.showLogs) {
|
||||
root.addItem(menuEntryComponent.createObject(root, {text: qsTr("Logs"), iconSource: "../images/logs.svg", functionName: "openThingLogPage"}))
|
||||
}
|
||||
|
||||
root.addItem(menuEntryComponent.createObject(root,
|
||||
{
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ Page {
|
|||
id: root
|
||||
property Thing thing: null
|
||||
|
||||
property bool showLogsButton: false
|
||||
property bool showDetailsButton: true
|
||||
property bool showBrowserButton: true
|
||||
property bool popStackOnBackButton: true
|
||||
|
|
@ -75,7 +74,6 @@ Page {
|
|||
x: parent.width - width
|
||||
thing: root.thing
|
||||
showDetails: root.showDetailsButton
|
||||
showLogs: root.showLogsButton
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
|
|
|||
Loading…
Reference in New Issue