Skip to content

Commit

Permalink
Merge pull request #64 from tighten/alk/fix-nova-path-trailing-slash
Browse files Browse the repository at this point in the history
Fix issues with trailing slash in nova path
  • Loading branch information
faxblaster authored Oct 26, 2022
2 parents ca6b5f6 + 92ee9f3 commit a66bd86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/tool.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/tables/ChargesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default {
failed: 'ns-bg-red-100 ns-text-red-600',
},
page: 1,
novaPath: Nova.config('path'),
novaPath: Nova.config('path').replace(/\/$/, ''),
}
},
methods: {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/tables/CustomersTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {
loading: false,
hasMore: false,
page: 1,
novaPath: Nova.config('path'),
novaPath: Nova.config('path').replace(/\/$/, ''),
}
},
methods: {
Expand Down

0 comments on commit a66bd86

Please sign in to comment.