Fix pad type in search for read-only pads

This commit is contained in:
yflory 2020-01-06 17:05:29 +01:00
parent 080ffa09a6
commit eb85a5908e
1 changed files with 1 additions and 1 deletions

View File

@ -3008,7 +3008,7 @@ define([
r.paths.forEach(function (path) {
if (!r.inSharedFolder &&
APP.hideDuplicateOwned && manager.isDuplicateOwned(path)) { return; }
var href = r.data.href;
var href = r.data.href || r.data.roHref;
var parsed = Hash.parsePadUrl(href);
var $table = $('<table>');
var $icon = $('<td>', {'rowspan': '3', 'class': 'cp-app-drive-search-icon'});