Skip to content

Commit

Permalink
Optimize Profile.vue (#713)
Browse files Browse the repository at this point in the history
Co-authored-by: 朱鑫睿 <[email protected]>
  • Loading branch information
zzxr6 and 朱鑫睿 authored Oct 14, 2024
1 parent c22597d commit 45b6750
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions frontend/src/components/user_settings/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
<!-- profile settings -->
<div v-if="isCurrentUser" class="flex xl:flex-col md:flex-row gap-3">
<a href="/settings/profile" class="px-[12px] py-[5px] lg:w-[200px] md:w-auto text-center border border-gray-200 rounded-[4px] text-[14px] leading-[22px] font-medium hover:bg-gray-200 hover:text-gray-700">
{{ $t('profile.editProfile')}}
</a>
<a href="/settings/profile" class="px-[12px] py-[5px] border border-gray-200 rounded-[4px] text-[14px] leading-[22px] font-medium hover:bg-gray-200 hover:text-gray-700 hidden">
{{ $t('profile.settings')}}
{{ $t('profile.accountSetting')}}
</a>
</div>
<!-- roles -->
Expand Down
1 change: 0 additions & 1 deletion frontend/src/locales/en_js/profile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const profile = {
accountSetting: "Settings",
myCollect: "My Favorite",
settings: "Settings",
interests: "Interests",
organization: "Organization",
menu: {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/locales/zh_js/profile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const profile = {
accountSetting: "账号设置",
myCollect: "我的收藏",
settings: "设置",
interests: "兴趣",
organization: "组织机构",
menu: {
Expand Down

0 comments on commit 45b6750

Please sign in to comment.