diff --git a/.github/workflows/ui-test.yml b/.github/workflows/ui-test.yml index 3f0fc0ca..3e2d652b 100644 --- a/.github/workflows/ui-test.yml +++ b/.github/workflows/ui-test.yml @@ -47,7 +47,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 check-latest: true - name: Add to Hosts diff --git a/frappe-ui b/frappe-ui index 1826da18..d08b773c 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit 1826da18b632cd1bdc668f0453426b15896caebe +Subproject commit d08b773c0118ca5fdff5a64b02ddd0c2cf65789f diff --git a/frontend/package.json b/frontend/package.json index f33cd327..a19cd59a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -14,7 +14,7 @@ "@vueuse/core": "^10.1.2", "dayjs": "^1.10.7", "feather-icons": "^4.28.0", - "frappe-ui": "^0.1.57", + "frappe-ui": "^0.1.64", "fuzzysort": "^2.0.4", "gemoji": "^7.1.0", "htmldiff-js": "^1.0.5", @@ -37,4 +37,4 @@ "vite": "^4.4.9", "vue-template-compiler": "^2.7.14" } -} +} \ No newline at end of file diff --git a/frontend/src/components/Comment.vue b/frontend/src/components/Comment.vue index bdfbc096..6b1d3059 100644 --- a/frontend/src/components/Comment.vue +++ b/frontend/src/components/Comment.vue @@ -82,7 +82,7 @@ label: 'Delete', variant: 'solid', theme: 'red', - onClick: ({ close }) => { + onClick: (close) => { return comments.setValue .submit({ name: comment.name, diff --git a/frontend/src/components/CommentsArea.vue b/frontend/src/components/CommentsArea.vue index 51136474..5a75a219 100644 --- a/frontend/src/components/CommentsArea.vue +++ b/frontend/src/components/CommentsArea.vue @@ -375,7 +375,7 @@ export default { actions: [ { label: 'Discard comment', - onClick: ({ close }) => { + onClick: (close) => { this.resetCommentState() close() }, diff --git a/frontend/src/components/CommentsList.vue b/frontend/src/components/CommentsList.vue index 3f14b5f4..fa58139a 100644 --- a/frontend/src/components/CommentsList.vue +++ b/frontend/src/components/CommentsList.vue @@ -387,7 +387,7 @@ export default { actions: [ { label: 'Discard comment', - onClick: ({ close }) => { + onClick: (close) => { this.resetCommentState() close() }, diff --git a/frontend/src/components/DiscussionView.vue b/frontend/src/components/DiscussionView.vue index 6438d529..4c0c001b 100644 --- a/frontend/src/components/DiscussionView.vue +++ b/frontend/src/components/DiscussionView.vue @@ -378,7 +378,7 @@ export default { actions: [ { label: 'Pin', - onClick: ({ close }) => + onClick: (close) => this.$resources.discussion.pinDiscussion .submit() .then(close), @@ -400,7 +400,7 @@ export default { actions: [ { label: 'Unpin', - onClick: ({ close }) => + onClick: (close) => this.$resources.discussion.unpinDiscussion .submit() .then(close), @@ -423,7 +423,7 @@ export default { actions: [ { label: 'Close', - onClick: ({ close }) => + onClick: (close) => this.$resources.discussion.closeDiscussion .submit() .then(close), @@ -446,7 +446,7 @@ export default { actions: [ { label: 'Re-open', - onClick: ({ close }) => + onClick: (close) => this.$resources.discussion.reopenDiscussion .submit() .then(close), diff --git a/frontend/src/components/InviteGuestDialog.vue b/frontend/src/components/InviteGuestDialog.vue index 691fb3d5..edeaa9be 100644 --- a/frontend/src/components/InviteGuestDialog.vue +++ b/frontend/src/components/InviteGuestDialog.vue @@ -111,7 +111,7 @@ function remove(user) { label: 'Delete', variant: 'solid', theme: 'red', - onClick: ({ close }) => { + onClick: (close) => { return pending.delete.submit(user.name).then(close) }, }, @@ -126,7 +126,7 @@ function remove(user) { label: 'Delete', variant: 'solid', theme: 'red', - onClick: ({ close }) => { + onClick: (close) => { return props.project.removeGuest.submit( { email: user.user }, { diff --git a/frontend/src/components/NewTaskDialog.vue b/frontend/src/components/NewTaskDialog.vue index f47fdadb..0e716e86 100644 --- a/frontend/src/components/NewTaskDialog.vue +++ b/frontend/src/components/NewTaskDialog.vue @@ -44,8 +44,8 @@ @@ -104,7 +104,6 @@ function statusOptions({ onClick }) { const assignableUsers = computed(() => { return activeUsers.value - .filter((user) => user.name != newTask.value.assigned_to) .map((user) => ({ label: user.full_name, value: user.name, diff --git a/frontend/src/components/Poll.vue b/frontend/src/components/Poll.vue index 0ad77c3a..29556d76 100644 --- a/frontend/src/components/Poll.vue +++ b/frontend/src/components/Poll.vue @@ -192,7 +192,7 @@ export default { { label: `Vote for "${option.title}"`, variant: 'solid', - onClick: ({ close }) => { + onClick: (close) => { this.$resources.poll.submitVote .submit({ option: option.title }) .then(close) @@ -220,7 +220,7 @@ export default { label: 'Stop', variant: 'solid', theme: 'red', - onClick: ({ close }) => + onClick: (close) => this.$resources.poll.stopPoll.submit().then(close), }, ], @@ -281,7 +281,7 @@ export default { label: 'Retract vote', variant: 'solid', theme: 'red', - onClick: ({ close }) => + onClick: (close) => this.$resources.poll.retractVote.submit().then(close), }, ], @@ -306,7 +306,7 @@ export default { label: 'Delete', variant: 'solid', theme: 'red', - onClick: ({ close }) => + onClick: (close) => this.$resources.poll.delete.submit().then(close), }, ], diff --git a/frontend/src/components/ReadmeEditor.vue b/frontend/src/components/ReadmeEditor.vue index 5fcf1ed5..c405b258 100644 --- a/frontend/src/components/ReadmeEditor.vue +++ b/frontend/src/components/ReadmeEditor.vue @@ -57,7 +57,7 @@ v-if="collapsible && readmeHeight > 150" > -