UBER-600: fix label, fix colours for boolean presenter (#3608)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-08-19 14:01:35 +05:00 committed by GitHub
parent 90664d7417
commit 6e3ad0eb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 3 deletions

View File

@ -510,7 +510,7 @@ export function createModel (builder: Builder): void {
{
hidden: false,
generated: false,
label: setting.string.IntegrationDisabled,
label: setting.string.IntegrationDisabledSetting,
group: setting.ids.SettingNotificationGroup,
field: 'disabled',
txClasses: [core.class.TxUpdateDoc],

View File

@ -29,6 +29,7 @@
"DeleteStatusConfirm": "Do you want to delete this status?",
"Reconnect": "Reconnect",
"IntegrationDisabled": " has been disabled",
"IntegrationDisabledSetting": "Integration has been disabled",
"IntegrationWith": "Integration with ",
"ClassSetting": "Class setting",
"Attributes": "Attributes",

View File

@ -29,6 +29,7 @@
"DeleteStatusConfirm": "Вы действительно хотите удалить этот статус?",
"Reconnect": "Переподключить",
"IntegrationDisabled": " была отключена",
"IntegrationDisabledSetting": "Интеграция была отключена",
"IntegrationWith": "Интеграция с ",
"ClassSetting": "Настройки класса",
"Attributes": "Атрибуты",

View File

@ -24,6 +24,7 @@ export default mergeIds(settingId, setting, {
},
string: {
IntegrationDisabled: '' as IntlString,
IntegrationDisabledSetting: '' as IntlString,
IntegrationWith: '' as IntlString,
DeleteStatus: '' as IntlString,
DeleteStatusConfirm: '' as IntlString,

View File

@ -17,8 +17,8 @@
import { getPlatformColor, themeStore } from '@hcengineering/ui'
export let value: boolean
export let trueColor = 0
export let falseColor = 16
export let trueColor = 16
export let falseColor = 0
export let useInvert = false
$: val = useInvert ? !value : value