Amy0104 commented on code in PR #12048:
URL:
https://github.com/apache/dolphinscheduler/pull/12048#discussion_r1001265173
##########
dolphinscheduler-ui/src/views/security/user-manage/components/authorize-modal.tsx:
##########
@@ -88,14 +109,66 @@ export const AuthorizeModal = defineComponent({
confirmClassName='btn-submit'
cancelClassName='btn-cancel'
>
- {type === 'authorize_project' && (
+ {/* {type === 'authorize_project' && (
<NTransfer
virtualScroll
options={this.unauthorizedProjects}
filterable
v-model={[this.authorizedProjects, 'value']}
class={styles.transfer}
/>
+ )} */}
+ {type === 'authorize_project' && (
+
+ <NSpace vertical>
+ <NSpace>
+ <NButton size='small' type='primary' onClick={() =>
this.revokeProjectByIdRequest(userId, projectIds)}>
Review Comment:
BTW, if you are using an arrow function, and you don't want to use curly
brackets. It's better to add `void` after the arrow that means the arrow
function return nothing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]