@@ -156,11 +153,19 @@ watch(isOpenHuePicker, () => {
:trigger="['click']"
:disabled="readonly"
placement="bottom"
- overlayClassName="!left-8.5"
+ overlayClassName="!left-9"
>
-
+
-
-
Custom Hue
+
+
{{ $t('labels.customHue') }}
+
{
- console.log('update', value)
+ if (value?.hsv?.h === undefined) return
+ colorRef = {
+ ...defaultHueValue,
+ h: +value.hsv.h,
+ }
}
"
/>
- Apply
+
+ {{ $t('general.apply') }}
+
+
+
+ {{ $t('general.remove') }}
+
-
diff --git a/packages/nc-gui/lang/en.json b/packages/nc-gui/lang/en.json
index 36d7238165..93783fee1b 100644
--- a/packages/nc-gui/lang/en.json
+++ b/packages/nc-gui/lang/en.json
@@ -197,7 +197,8 @@
"banner": "Banner",
"logo": "Logo",
"dropdown": "Dropdown",
- "list": "List"
+ "list": "List",
+ "apply": "Apply"
},
"objects": {
"day": "Day",
@@ -698,7 +699,8 @@
"showFieldOnConditionsMet": "Shows field only when conditions are met",
"limitOptions": "Limit ptions",
"limitOptionsSubtext": "Limit options visible to users by selecting available options",
- "clearSelection": "Clear selection"
+ "clearSelection": "Clear selection",
+ "customHue": "Custom Hue"
},
"activity": {
"noRange": "Calendar view requires a date range",