Finally make the controller charts less shitty
Build Linux and Android / build (push) Failing after 3m39s
Build Linux and Android / build (push) Failing after 3m39s
This commit is contained in:
1 parent
046935a6dd
commit
f6c2ecdd4c
1 file changed
+3
-1
@@ -145,6 +145,8 @@ ScrollableTabPage {
|
||||
id: dataApiKeyValueHelper
|
||||
deviceConnection: theDeviceConnection
|
||||
apiKey: "data"
|
||||
|
||||
property string replacedValue: value.replace('/data?', '/data_ng?')
|
||||
}
|
||||
|
||||
ApiKeyValueHelper {
|
||||
@@ -168,7 +170,7 @@ ScrollableTabPage {
|
||||
|
||||
property var xhr: undefined
|
||||
property bool requestAgain: false
|
||||
property var parsed: page.parseDataApi(dataApiKeyValueHelper.value)
|
||||
property var parsed: page.parseDataApi(dataApiKeyValueHelper.replacedValue)
|
||||
property var url: cloudTabs.currentIndex === 0 && parsed && page.width > 30
|
||||
? parsed.url + "&title=title&chartTitle=chartTitle&scale=1&width="
|
||||
+ Math.round(page.width - 30) + "&app_id=1&&lang=de"
|
||||
|
||||
Reference in new issue
Block a user