Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide user dropdown for current user #1652

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

gaspergrom
Copy link
Contributor

@gaspergrom gaspergrom commented Oct 10, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 840ca57

This pull request prevents users from deleting or editing themselves in the user list view. It updates the v-if directives of the el-table-column and el-dropdown-item components in user-list-table.vue and user-list-toolbar.vue respectively.

🤖 Generated by Copilot at 840ca57

v-if directive
hides buttons from oneself
autumn self-reflection

Why

How

🤖 Generated by Copilot at 840ca57

  • Prevent current user from deleting or editing themselves in user list table (link, link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@gaspergrom gaspergrom added the Bug Created by Linear-GitHub Sync label Oct 10, 2023
@gaspergrom gaspergrom self-assigned this Oct 10, 2023
@gaspergrom gaspergrom merged commit db0d9f5 into main Oct 10, 2023
7 checks passed
@gaspergrom gaspergrom deleted the bugfix/user-dropdown-self branch October 10, 2023 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants