changes untested
This commit is contained in:
0
src/pages/card/addcard.vue
Normal file → Executable file
0
src/pages/card/addcard.vue
Normal file → Executable file
2
src/pages/card/editcard.vue
Normal file → Executable file
2
src/pages/card/editcard.vue
Normal file → Executable file
@@ -352,8 +352,6 @@
|
||||
})
|
||||
.then((response: any) => {
|
||||
if (response.data.ok) {
|
||||
console.log(response.data)
|
||||
console.log(this.user.id)
|
||||
this.$router.push({name: "customerProfile", params: { id: this.card.user_id }});
|
||||
}
|
||||
if (response.data.error) {
|
||||
|
||||
2
src/pages/card/home.vue
Normal file → Executable file
2
src/pages/card/home.vue
Normal file → Executable file
@@ -131,7 +131,6 @@ export default defineComponent({
|
||||
methods: {
|
||||
getPage: function (page: any) {
|
||||
// we simulate an api call that fetch the records from a backend
|
||||
console.log("here")
|
||||
this.get_all_cards(page)
|
||||
},
|
||||
userStatus() {
|
||||
@@ -179,7 +178,6 @@ export default defineComponent({
|
||||
headers: authHeader(),
|
||||
}).then((response: any) => {
|
||||
this.cards = response.data
|
||||
console.log(response.data)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
0
src/pages/card/routes.ts
Normal file → Executable file
0
src/pages/card/routes.ts
Normal file → Executable file
Reference in New Issue
Block a user