From 0d036d818357d6c57f417e7aa3012cc6f1c12697 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 11 May 2019 17:35:39 +0100 Subject: [PATCH] Fixed regression following fix for #1425 --- ReactNativeClient/lib/models/BaseItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactNativeClient/lib/models/BaseItem.js b/ReactNativeClient/lib/models/BaseItem.js index bdc546c46..872f833d3 100644 --- a/ReactNativeClient/lib/models/BaseItem.js +++ b/ReactNativeClient/lib/models/BaseItem.js @@ -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]; }