Skip to content

Commit

Permalink
📜 Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Jan 20, 2025
1 parent 90c3816 commit 8b4a835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,18 @@ erDiagram
string email "FxA account email and email used for password auth"
string name "Preferred display name"
enum level "Subscription level [basic, plus, pro, admin]"
int timezone "User selected home timezone, UTC offset"
string avatar_url "Public link to an avatar image"
string short_link_hash "Hash for verifying user link"
string language "Lang code for subscribers preferred locale"
int timezone "User selected home timezone, UTC offset"
enum color_scheme "Frontend theme [system, dark, light]"
enum time_mode "Format for displaying times [h12, h24]"
string minimum_valid_iat_time "Minimum valid time to accept for JWT tokens"
date time_created "UTC timestamp of subscriber creation"
date time_updated "UTC timestamp of last subscriber modification"
string secondary_email "Secondary email address"
date time_deleted "UTC timestamp of deletion (soft delete)"
int ftue_level "Version of the FTUE the user has completed"
string language "Lang code for subscribers preferred locale"
}
SUBSCRIBERS ||--o{ CALENDARS : own
CALENDARS {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/SettingsGeneral.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const user = useUserStore();
user.init(call);
// handle ui languages
watch(locale, (newValue) => {
watch(locale, (newValue: string) => {
user.data.settings.language = newValue;
// window.location.reload();
window.location.reload(); // This is needed to reload locale for dayjs instance
});
// handle theme mode
Expand Down

0 comments on commit 8b4a835

Please sign in to comment.