Skip to content

Commit

Permalink
Merge pull request #12 from uclouvain/dev
Browse files Browse the repository at this point in the history
Patch 0.14
  • Loading branch information
mathieuzen authored Jul 26, 2023
2 parents 14d00c9 + f6c5b20 commit d2076b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/__snapshots__/main.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`mount app 1`] = `
"<div class=\\"comment-viewer\\" data-url=\\"/api\\" data-v-app=\\"\\"><div class=\\"comment-thread panel panel-default\\"><div class=\\"panel-heading clearfix\\">Comments (0) <button class=\\"btn btn-default btn-sm pull-right\\">sort <i class=\\"fas fa-sort-down\\"></i></button></div><!--v-if--></div></div>
<div class=\\"comment-count\\" data-url=\\"/api\\" data-v-app=\\"\\"><div class=\\"badge badge-compteur\\">0</div></div>
<div class=\\"comment-count\\" data-url=\\"/api\\" data-v-app=\\"\\"><!--v-if--></div>
<input name=\\"csrfmiddlewaretoken\\">"
`;
Expand Down
5 changes: 4 additions & 1 deletion frontend/components/CommentCount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
-
-->
<template>
<div class="badge badge-compteur">
<div
v-if="value != 0"
class="badge badge-compteur"
>
{{ value }}
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions osis_comment/static/osis_comment/osis-comment.umd.min.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit d2076b4

Please sign in to comment.