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