Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
reybex-educational-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M. Esat Akpunar
reybex-educational-app
Commits
5dd075d3
Commit
5dd075d3
authored
Aug 31, 2022
by
esatakpunar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some naming bug fixed
parent
25989cc7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
actions.js
client/src/modules/products/store/actions.js
+1
-1
getters.js
client/src/modules/products/store/getters.js
+1
-1
mutations.js
client/src/modules/products/store/mutations.js
+1
-1
No files found.
client/src/modules/products/store/actions.js
View file @
5dd075d3
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
axios
axios
.
delete
(
`http://localhost:3000/products/
${
id
}
`
)
.
delete
(
`http://localhost:3000/products/
${
id
}
`
)
.
then
(()
=>
{
.
then
(()
=>
{
dispatch
(
"fetchProductData"
,
{}
);
dispatch
(
"fetchProductData"
);
})
})
.
catch
((
e
)
=>
{
.
catch
((
e
)
=>
{
console
.
log
(
e
);
console
.
log
(
e
);
...
...
client/src/modules/products/store/getters.js
View file @
5dd075d3
...
@@ -53,6 +53,6 @@ export default {
...
@@ -53,6 +53,6 @@ export default {
return
state
.
dialog
;
return
state
.
dialog
;
},
},
filteredProductList
(
state
)
{
filteredProductList
(
state
)
{
return
state
.
filtered
Inventory
List
;
return
state
.
filtered
Product
List
;
},
},
};
};
client/src/modules/products/store/mutations.js
View file @
5dd075d3
...
@@ -15,6 +15,6 @@ export default {
...
@@ -15,6 +15,6 @@ export default {
state
.
editedItem
=
item
;
state
.
editedItem
=
item
;
},
},
setfilteredProductList
(
state
,
data
)
{
setfilteredProductList
(
state
,
data
)
{
state
.
filtered
Inventory
List
=
data
;
state
.
filtered
Product
List
=
data
;
},
},
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment