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:
parent
e5f2a7f2f5
commit
0d036d8183
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user