fix appsByMime bug

This commit is contained in:
Xuan Sang LE 2018-03-14 18:47:26 +01:00
parent 1ff616786e
commit f671966b96

View File

@ -84,6 +84,7 @@ self.OS.GUI =
try
arr.filter (m, i) ->
if mime.match (new RegExp m, "g")
return false if (apps.indexOf metas[idx]) > 0
apps.push metas[idx]
return false
return false