Skip to content

Commit

Permalink
Merge pull request #618 from nearbeach/develop
Browse files Browse the repository at this point in the history
HOTFIX - enabling the description in the kanban card
  • Loading branch information
robotichead committed May 18, 2024
2 parents a0f8fd9 + eb71343 commit 5581e34
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NearBeach/static/NearBeach/NearBeach.min.js

Large diffs are not rendered by default.

Binary file modified NearBeach/static/NearBeach/NearBeach.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion NearBeach/static/NearBeach/kanban-information.min.js

Large diffs are not rendered by default.

Binary file modified NearBeach/static/NearBeach/kanban-information.min.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions src/js/components/card_information/CardDescription.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default {
props: {},
data() {
return {
editorIsDisabled: true,
editorIsDisabled: false,
};
},
computed: {
Expand Down Expand Up @@ -115,7 +115,7 @@ export default {
mounted() {
//BUG - if we use the following condition it won't work. We need to wait at least 500ms before apply it.
//I hate this :'(
setInterval(() => {
setTimeout(() => {
this.editorIsDisabled = this.kanbanStatus === "Closed" || this.userLevel <= 1;
}, 500);
}
Expand Down

0 comments on commit 5581e34

Please sign in to comment.