Remove old logs view from the thing context menu

pull/1044/head
Michael Zanetti 2023-06-06 21:11:08 +02:00
parent b9ee3554a6
commit 0ab6615db2
2 changed files with 0 additions and 6 deletions

View File

@ -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,
{

View File

@ -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 {