Skip to content

Commit

Permalink
refactor(filters): prettify code
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-shusterman committed Nov 12, 2018
1 parent d87ad8d commit 05e9358
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/filters/Filters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/>
<vuestic-simple-select
class="filters-page__filter-bar"
label="city"
label="City"
v-model="city"
:options="cityList"
/>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/filters/filtersData.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export let cityList = ['Vancouver', 'Washington', 'Barcelona', 'Manchester', 'Wien', 'Brussels']
export let itemList = [
export const cityList = ['Vancouver', 'Washington', 'Barcelona', 'Manchester', 'Wien', 'Brussels']
export const itemList = [
{
name: 'Matthew McCormick',
email: '[email protected]',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<template>
<div class="demo-container">
<div class="demo-container__item">
<vuestic-tag
name="Company"
:removable="true"
/>
<vuestic-tag name="Company" removable />
</div>
</div>
</template>
Expand Down

0 comments on commit 05e9358

Please sign in to comment.