Skip to content

Commit

Permalink
fix: 修复应用解包没有显示测试设备列表
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Oct 11, 2023
1 parent 602fd98 commit 34d4850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/views/teardowns/_devices_part.html.slim
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- if @metadata.release_type == AppInfo::IPA::ExportType::ADHOC
- if devices.present?
.card
.card-header
h3.card-title
= t('teardowns.show.devise_list', count: @metadata.devices.size)
= t('teardowns.show.devise_list', count: devices.size)
.card-tools
button.btn.btn-tool data-card-widget="collapse"
i.fas.fa-minus
.card-body.p-0.pl-3
table.table
- @metadata.devices.each do |udid|
- devices.sort.each do |udid|
tr
td
span = udid
Expand Down
2 changes: 1 addition & 1 deletion app/views/teardowns/_ios.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
dd
pre = number_to_human_size(@metadata.size)

== render 'devices_part'
== render 'devices_part', devices: @metadata.devices
== render 'card', title: t('teardowns.show.capabilities'), raw: @metadata.capabilities

.col-md-6
Expand Down

0 comments on commit 34d4850

Please sign in to comment.