Skip to content

Commit

Permalink
fix: Vendor listing and withdraw page not loading from admin area whe…
Browse files Browse the repository at this point in the history
…n use other langauges issue fixed
  • Loading branch information
alamgircsebd committed Dec 1, 2020
1 parent de9baa9 commit 853eca3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/admin/pages/Vendors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<hr class="wp-header-end">

<ul class="subsubsub">
<li><router-link :to="{ name: 'Vendors', query: { status: 'all' }}" active-class="current" exact v-html="sprintf( __( 'All <span class=\'count\'>(%s)</span>', 'dokan-lite' ), counts.all )"></router-link> | </li>
<li><router-link :to="{ name: 'Vendors', query: { status: 'approved' }}" active-class="current" exact v-html="sprintf( __( 'Approved <span class=\'count\'>(%s)</span>', 'dokan-lite' ), counts.approved )"></router-link> | </li>
<li><router-link :to="{ name: 'Vendors', query: { status: 'pending' }}" active-class="current" exact v-html="sprintf( __( 'Pending <span class=\'count\'>(%s)</span>', 'dokan-lite' ), counts.pending )"></router-link></li>
<li><router-link :to="{ name: 'Vendors', query: { status: 'all' }}" active-class="current" exact >{{ __( 'All', 'dokan-lite' ) }} <span class="count">{{ counts.all }}</span></router-link> | </li>
<li><router-link :to="{ name: 'Vendors', query: { status: 'approved' }}" active-class="current" exact >{{ __( 'Approved', 'dokan-lite' ) }} <span class="count">{{ counts.approved }}</span></router-link> | </li>
<li><router-link :to="{ name: 'Vendors', query: { status: 'pending' }}" active-class="current" exact >{{ __( 'Pending', 'dokan-lite' ) }} <span class="count">{{ counts.pending }}</span></router-link> | </li>
</ul>

<search title="Search Vendors" @searched="doSearch"></search>
Expand Down
6 changes: 3 additions & 3 deletions src/admin/pages/Withdraw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
</modal>

<ul class="subsubsub">
<li><router-link :to="{ name: 'Withdraw', query: { status: 'pending' }}" active-class="current" exact v-html="sprintf( __( 'Pending <span class=\'count\'>(%s)</span>', 'dokan-lite' ), counts.pending )"></router-link> | </li>
<li><router-link :to="{ name: 'Withdraw', query: { status: 'approved' }}" active-class="current" exact v-html="sprintf( __( 'Approved <span class=\'count\'>(%s)</span>', 'dokan-lite' ), counts.approved )"></router-link> | </li>
<li><router-link :to="{ name: 'Withdraw', query: { status: 'cancelled' }}" active-class="current" exact v-html="sprintf( __( 'Cancelled <span class=\'count\'>(%s)</span>', 'dokan-lite' ), counts.cancelled )"></router-link></li>
<li><router-link :to="{ name: 'Withdraw', query: { status: 'pending' }}" active-class="current" exact >{{ __( 'Pending', 'dokan-lite' ) }} <span class="count">{{ counts.pending }}</span></router-link> | </li>
<li><router-link :to="{ name: 'Withdraw', query: { status: 'approved' }}" active-class="current" exact >{{ __( 'Approved', 'dokan-lite' ) }} <span class="count">{{ counts.approved }}</span></router-link> | </li>
<li><router-link :to="{ name: 'Withdraw', query: { status: 'cancelled' }}" active-class="current" exact >{{ __( 'Cancelled', 'dokan-lite' ) }} <span class="count">{{ counts.cancelled }}</span></router-link> | </li>
</ul>

<list-table
Expand Down

0 comments on commit 853eca3

Please sign in to comment.