mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-23 03:49:49 +00:00
UBER-600: fix label, fix colours for boolean presenter (#3608)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
90664d7417
commit
6e3ad0eb62
@ -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],
|
||||
|
@ -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",
|
||||
|
@ -29,6 +29,7 @@
|
||||
"DeleteStatusConfirm": "Вы действительно хотите удалить этот статус?",
|
||||
"Reconnect": "Переподключить",
|
||||
"IntegrationDisabled": " была отключена",
|
||||
"IntegrationDisabledSetting": "Интеграция была отключена",
|
||||
"IntegrationWith": "Интеграция с ",
|
||||
"ClassSetting": "Настройки класса",
|
||||
"Attributes": "Атрибуты",
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user