Skip to content

Commit 02c01f4

Browse files
committed
Projects filter issue
1 parent e19618e commit 02c01f4

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

src/components/ProjectsFilter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
dark:bg-ternary-dark
1919
text-primary-dark
2020
dark:text-ternary-light
21-
"
21+
"
2222
>
2323
<option value class="text-sm sm:text-md">All Projects</option>
2424
<option

src/components/ProjectsGrid.vue

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,18 @@
101101

102102
<script>
103103
import feather from 'feather-icons';
104-
import ProjectSingle from './ProjectSingle.vue';
105104
import ProjectsFilter from './ProjectsFilter.vue';
105+
import ProjectSingle from './ProjectSingle.vue';
106106
107107
export default {
108-
name: 'Projects',
109108
components: { ProjectSingle, ProjectsFilter },
110-
data() {
109+
data: () => {
111110
return {
112-
selectedProject: '',
113-
searchProject: '',
114111
projectsHeading: 'Projects Portfolio',
115112
projectsDescription:
116113
'Some of the projects I have successfully completed',
114+
selectedProject: '',
115+
searchProject: '',
117116
projects: [
118117
{
119118
id: 1,
@@ -130,13 +129,13 @@ export default {
130129
{
131130
id: 3,
132131
title: 'Project Management UI',
133-
category: 'UI / Frontend',
132+
category: 'UI/UX Design',
134133
img: require('@/assets/images/ui-project-1.jpg'),
135134
},
136135
{
137136
id: 4,
138137
title: 'Cloud Storage Platform',
139-
category: 'UI / Frontend',
138+
category: 'UI/UX Design',
140139
img: require('@/assets/images/ui-project-2.jpg'),
141140
},
142141
{
@@ -182,9 +181,6 @@ export default {
182181
mounted() {
183182
feather.replace();
184183
},
185-
updated() {
186-
feather.replace();
187-
},
188184
};
189185
</script>
190186

0 commit comments

Comments
 (0)