Skip to content

Commit 828af23

Browse files
patch: Update query to fetch device types
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
1 parent 835afc3 commit 828af23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/_machines-architectures.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(function () {
44
window.jQuery
55
.ajax({
6-
url: "https://api.balena-cloud.com/v7/device_type?$select=name,slug&$expand=is_of__cpu_architecture($select=slug)&$filter=is_default_for__application/any(idfa:((idfa/is_host%20eq%20true)%20and%20(idfa/is_archived%20eq%20false))%20and%20not(contains(idfa/app_name,%27esr%27)))&$orderby=name%20asc"
6+
url: "https://api.balena-cloud.com/v7/device_type?$select=name,slug,logo&$expand=is_of__cpu_architecture($select=slug)&$filter=is_default_for__application/any(idfa:((idfa/is_host%20eq%20true)%20and%20(idfa/is_archived%20eq%20false)%20and%20(idfa/owns__release/any(r:(status%20eq%20%27success%27)%20and%20(is_final%20eq%20true)%20and%20(is_invalidated%20eq%20false))))%20and%20not(contains(idfa/app_name,%27-esr%27)))&$orderby=name%20asc"
77
})
88
.done(function (deviceTypes) {
99
var table = _(deviceTypes.d)

0 commit comments

Comments
 (0)