Removed unused arguments

This commit is contained in:
Stanislav Romanov 2022-10-24 11:13:06 +03:00
parent 7f256663e0
commit c816bd186a

View file

@ -11,7 +11,6 @@
{{#if this.previousPage}} {{#if this.previousPage}}
<LinkTo <LinkTo
@route={{this.router.currentRouteName}} @route={{this.router.currentRouteName}}
@models={{if @model (array @model) (array)}}
@query={{hash offset=(dec @limit @offset)}} @query={{hash offset=(dec @limit @offset)}}
class={{commonClasses}} class={{commonClasses}}
title='Previous page' title='Previous page'
@ -31,7 +30,6 @@
{{else}} {{else}}
<LinkTo <LinkTo
@route={{this.router.currentRouteName}} @route={{this.router.currentRouteName}}
@models={{if @model (array @model) (array)}}
@query={{hash offset=(mul @limit (dec i))}} @query={{hash offset=(mul @limit (dec i))}}
class={{commonClasses}} class={{commonClasses}}
> >
@ -42,7 +40,6 @@
{{#if this.nextPage}} {{#if this.nextPage}}
<LinkTo <LinkTo
@route={{this.router.currentRouteName}} @route={{this.router.currentRouteName}}
@models={{if @model (array @model) (array)}}
@query={{hash offset=(inc @limit @offset)}} @query={{hash offset=(inc @limit @offset)}}
class={{commonClasses}} class={{commonClasses}}
title='Next page' title='Next page'