Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
block-size: 60px;
font-size: 20px;
line-height: 1em;
text-transform: capitalize;
color: rgb(0 0 0);
background-color: rgb(235 160 172);
border-radius: 50%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const translatedProfileName = computed(() => {

const profileInitial = computed(() => {
return props.profileName
? getFirstCharacter(translatedProfileName.value, locale.value).toUpperCase()
? getFirstCharacter(translatedProfileName.value, locale.value)
: ''
})

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/FtProfileEdit/FtProfileEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const translatedProfileName = computed(() => {

const profileInitial = computed(() => {
return profileName.value
? getFirstCharacter(translatedProfileName.value, locale.value).toUpperCase()
? getFirstCharacter(translatedProfileName.value, locale.value)
: ''
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const activeProfile = computed(() => store.getters.getActiveProfile)

const activeProfileInitial = computed(() => {
return activeProfile.value?.name
? getFirstCharacter(translateProfileName(activeProfile.value), locale.value).toUpperCase()
? getFirstCharacter(translateProfileName(activeProfile.value), locale.value)
: ''
})

Expand All @@ -129,7 +129,7 @@ const profileInitials = computed(() => {

return profileList.value.reduce((initials, profile) => {
initials[profile._id] = profile?.name
? getFirstCharacter(translateProfileName(profile), locale_).toUpperCase()
? getFirstCharacter(translateProfileName(profile), locale_)
: ''

return initials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const profileInitials = computed(() => {

return profileList.value.reduce((accumulator, profile) => {
accumulator[profile._id] = profile.name
? getFirstCharacter(profile.name, locale_).toUpperCase()
? getFirstCharacter(profile.name, locale_)
: ''

return accumulator
Expand Down