Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #22 from xPand4B/master
Browse files Browse the repository at this point in the history
NTR - Fixed another error preventing creating comments
  • Loading branch information
xPand4B authored Jul 19, 2020
2 parents 788d8d4 + db15a94 commit 392ab7e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/swCommentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function store(Request $request)
}

$version = request('version');
$comment = request('comment');
$comment = request('comments');

$file = $this->getCommentFileByVersion($version);

Expand Down
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/js/app.js": "/js/app.js?id=b3b59e0aaa04c7f0aa6a",
"/js/app.js": "/js/app.js?id=965ae98758852f907a2a",
"/css/app.css": "/css/app.css?id=baf29b614be48aa79abb",
"/js/app.js.map": "/js/app.js.map?id=d62fdd75de2dd4daec61"
"/js/app.js.map": "/js/app.js.map?id=e5090be71857d9df2c88"
}
4 changes: 2 additions & 2 deletions resources/js/src/pages/Shoplist/ShoplistIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@
onTagDeleteClick(version, comment) {
this.$swDirectories.deleteComment(version, comment);
console.log(version, comment);
// console.log(version, comment);
},
onEnter(version) {
if (event.which === 13) {
console.log(this.form.comment, version);
// console.log(this.form.comment, version);
this.$swDirectories.addComment(version, this.form.comment);
this.form.comment = '';
}
Expand Down

0 comments on commit 392ab7e

Please sign in to comment.