Skip to content

Commit 0c8a6dc

Browse files
committed
delete console.log & update default categoryId
1 parent 6897155 commit 0c8a6dc

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

src/components/PostCommentEditor.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export default {
124124
content: this.content,
125125
name_type: this.post.name_type
126126
}))
127-
// console.log('After update/create comment...')
128127
this.$emit('upload', result)
129128
this.content = ''
130129
this.autosize()

src/components/TheNavbar.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ export default {
319319
changeLocale,
320320
...mapActions(['toggleDarkMode']),
321321
click (boardName) {
322-
console.log(this.boardList)
323322
if (this.boardGroup[boardName].clicked) {
324323
this.boardGroup[boardName].clicked = false
325324
return

src/components/ThePostWrite.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
<option
4949
v-if="boardId"
5050
value=""
51-
:selected="categoryId = ''"
5251
>
5352
{{ $t('no-category') }}
5453
</option>
@@ -217,11 +216,7 @@ export default {
217216
218217
watch: {
219218
boardId () {
220-
if (this.categoryList.length) {
221-
this.categoryId = '$not-set'
222-
} else {
223-
this.categoryId = ''
224-
}
219+
this.categoryId = ''
225220
}
226221
},
227222

src/store/auth.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export default {
4646
return userProfile.extra_preferences && userProfile.extra_preferences.darkMode
4747
},
4848
isCommunicationAdmin ({ userProfile }) {
49-
// console.log('is_school_admin', userProfile)
5049
return userProfile.group === 6
5150
}
5251
},

0 commit comments

Comments
 (0)