Skip to content

Commit

Permalink
feat: CLIN-2173 removed unique index
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethienne Roy committed Aug 24, 2023
1 parent 8da9ffe commit b741511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/savedFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const getCount = (filter) =>
type: QueryTypes.SELECT,
},
)
.then((res) => res[0]['count']);
.then((res) => Number(res[0]['count']));

export const handleUniqueName = async (filter) => {
if (!filter.title) {
Expand Down

0 comments on commit b741511

Please sign in to comment.