mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Show language prefs when custom CSS is enabled (#418)
This commit is contained in:
parent
4550058984
commit
046222b1d9
@ -137,10 +137,9 @@ export class AccountPage extends Disposable {
|
||||
),
|
||||
dom.create(MFAConfig, user),
|
||||
),
|
||||
// Custom CSS is incompatible with custom themes.
|
||||
enableCustomCss ? null : [
|
||||
css.header(t("Theme")),
|
||||
dom.create(ThemeConfig, this._appModel),
|
||||
// Custom CSS is incompatible with custom themes.
|
||||
enableCustomCss ? null : dom.create(ThemeConfig, this._appModel),
|
||||
css.subHeader(t("Language")),
|
||||
css.dataRow({ style: 'width: 300px'},
|
||||
select(userLocale, languageOptions, {
|
||||
@ -149,8 +148,7 @@ export class AccountPage extends Disposable {
|
||||
}
|
||||
}),
|
||||
testId('language'),
|
||||
)
|
||||
],
|
||||
),
|
||||
css.header(t("API")),
|
||||
css.dataRow(css.inlineSubHeader(t("API Key")), css.content(
|
||||
dom.create(ApiKey, {
|
||||
|
Loading…
Reference in New Issue
Block a user