1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00

Fixed regression following fix for #1425

This commit is contained in:
Laurent Cozic 2019-05-11 17:35:39 +01:00
parent e5f2a7f2f5
commit 0d036d8183

View File

@ -126,7 +126,7 @@ class BaseItem extends BaseModel {
let s = p[p.length - 1].split('.');
let name = s[0];
if (!name) return name;
name.split('-');
name = name.split('-');
return name[name.length - 1];
}