feat(avatar): enhance SpaceAvatar component with emoji support
- Updated SpaceAvatar component to allow emoji-based avatars, enabling users to select emojis as their space avatar. - Added new props and computed properties to handle emoji logic and display. - Enhanced UI to include an emoji picker and clear option for avatars. - Updated localization strings in English and Chinese for new avatar features. - Adjusted styles for emoji display and interaction. This update improves user personalization options for avatars, enhancing the overall user experience in the application.
This commit is contained in:
@@ -99,7 +99,7 @@ func (r *organizationRepository) ListSearchable(ctx context.Context, query strin
|
||||
// Update updates an organization (Select ensures zero values like invite_code_validity_days=0 are persisted)
|
||||
func (r *organizationRepository) Update(ctx context.Context, org *types.Organization) error {
|
||||
return r.db.WithContext(ctx).Model(&types.Organization{}).Where("id = ?", org.ID).
|
||||
Select("name", "description", "require_approval", "searchable", "invite_code_validity_days", "member_limit", "updated_at").
|
||||
Select("name", "description", "avatar", "require_approval", "searchable", "invite_code_validity_days", "member_limit", "updated_at").
|
||||
Updates(org).Error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user