Skip to content

Commit

Permalink
minor things
Browse files Browse the repository at this point in the history
  • Loading branch information
fr0tt committed Aug 12, 2023
1 parent d9d58a5 commit 2aae520
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/pages/Collection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export default {
message = toString(error).substring(0, 60)
this.$store.dispatch('notification/setNotification', {
type: 'error',
title: 'Error',
title: 'Error ' + error.response.status,
description: message,
})
})
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/pages/Post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ export default {
this.$store.dispatch('post/addPost', response.data.data)
}
})
.catch(() => {
.catch((error) => {
this.$store.dispatch('notification/setNotification', {
type: 'error',
title: 'Error',
title: 'Error ' + error.response.status,
description: 'Post could not be created.',
})
})
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'text-green-600',
'border-red-600',
'border-green-600',
]
],
},
theme: {
extend: {
Expand Down

0 comments on commit 2aae520

Please sign in to comment.