fix: journal number increment.

This commit is contained in:
Ahmed Bouhuolia
2020-11-07 14:28:25 +02:00
parent cc1de9c897
commit acd74fd044
14 changed files with 146 additions and 72 deletions

View File

@@ -273,4 +273,8 @@ export const transformToObject = (arr, key) => {
export const itemsStartWith = (items, char) => {
return items.filter((item) => item.indexOf(char) === 0);
};
};
export const saveInvoke = (func, ...rest) => {
return func && func(...rest);
}