FIX: allows color-input to set hex and color names through input (#9339)

FIX: allows color-input to set hex and color names through input (#9339)

diff --git a/app/assets/javascripts/admin/components/color-input.js b/app/assets/javascripts/admin/components/color-input.js
index 44fe738..d1b6102 100644
--- a/app/assets/javascripts/admin/components/color-input.js
+++ b/app/assets/javascripts/admin/components/color-input.js
@@ -24,8 +24,7 @@ export default Component.extend({
 
   @action
   onHexInput(color) {
-    this.attrs.onChangeColor &&
-      this.attrs.onChangeColor((color || "").replace(/^#/, ""));
+    this.attrs.onChangeColor && this.attrs.onChangeColor(color || "");
   },
 
   @observes("hexValue", "brightnessValue", "valid")

GitHub sha: 9c43963f

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/can-not-change-the-summary-background/146609/4

This commit appears in #9339 which was merged by jjaffeux.