mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
Improve semver unit test
Now handles empty database scenario
This commit is contained in:
parent
c31711c130
commit
8077dd939a
4 changed files with 675 additions and 668 deletions
|
@ -177,7 +177,6 @@ export default BaseService.extend({
|
|||
membership: [],
|
||||
summary: []
|
||||
};
|
||||
if (is.not.array(response)) response = [];
|
||||
|
||||
let cats = response.category.map((obj) => {
|
||||
let data = this.get('store').normalize('category', obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue