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,20 +137,18 @@ export class AccountPage extends Disposable {
|
|||||||
),
|
),
|
||||||
dom.create(MFAConfig, user),
|
dom.create(MFAConfig, user),
|
||||||
),
|
),
|
||||||
|
css.header(t("Theme")),
|
||||||
// Custom CSS is incompatible with custom themes.
|
// Custom CSS is incompatible with custom themes.
|
||||||
enableCustomCss ? null : [
|
enableCustomCss ? null : dom.create(ThemeConfig, this._appModel),
|
||||||
css.header(t("Theme")),
|
css.subHeader(t("Language")),
|
||||||
dom.create(ThemeConfig, this._appModel),
|
css.dataRow({ style: 'width: 300px'},
|
||||||
css.subHeader(t("Language")),
|
select(userLocale, languageOptions, {
|
||||||
css.dataRow({ style: 'width: 300px'},
|
renderOptionArgs: () => {
|
||||||
select(userLocale, languageOptions, {
|
return dom.cls(cssFirstUpper.className);
|
||||||
renderOptionArgs: () => {
|
}
|
||||||
return dom.cls(cssFirstUpper.className);
|
}),
|
||||||
}
|
testId('language'),
|
||||||
}),
|
),
|
||||||
testId('language'),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
css.header(t("API")),
|
css.header(t("API")),
|
||||||
css.dataRow(css.inlineSubHeader(t("API Key")), css.content(
|
css.dataRow(css.inlineSubHeader(t("API Key")), css.content(
|
||||||
dom.create(ApiKey, {
|
dom.create(ApiKey, {
|
||||||
|
Loading…
Reference in New Issue
Block a user