Commit a5d6a825 by Kim Peace

Fixed searched list icon in archive list

parent ac2e4a27
...@@ -10,10 +10,9 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -10,10 +10,9 @@ document.addEventListener("DOMContentLoaded", function () {
ArchiveUI.refreshSearchScreen = function (keyword) { ArchiveUI.refreshSearchScreen = function (keyword) {
const archiveList = NativeBridgeDataSource.getArchiveByName(keyword); const archiveList = NativeBridgeDataSource.getArchiveByName(keyword);
const typeImage = ArchiveUI.getArchiveTypeIconURL(archive.archiveType);
ArchiveUI.getArchiveTemplate().then(function (archiveTemplate) { ArchiveUI.getArchiveTemplate().then(function (archiveTemplate) {
archiveList.forEach(function (archive) { archiveList.forEach(function (archive) {
const typeImage = ArchiveUI.getArchiveTypeIconURL(archive.archiveType);
let html = ArchiveUI.renderArchiveTemplate( let html = ArchiveUI.renderArchiveTemplate(
archiveTemplate, archiveTemplate,
archive.archiveId, archive.archiveId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment