Skip to content

Commit

Permalink
fix(filter): add missing value param to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
julon committed Jun 2, 2018
1 parent 513e2bf commit cad2d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const LibraryModule = {
Vue.filter("moment", (value, isUtc = false, ...args) => {
// add utc support on moment(true)
const filterMoment = isUtc ? moment.utc : moment;
return filterMoment(args);
return filterMoment(value, args);
});

// filter to wire moment duration
Expand Down

0 comments on commit cad2d57

Please sign in to comment.