From 9fed1a7a5beba0443eaa62c6b2ab8686fb9963b9 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Fri, 7 Jul 2023 11:21:10 +0200 Subject: [PATCH] fix: add font color on new label policy (#6155) --- internal/api/grpc/management/policy_label_converter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/api/grpc/management/policy_label_converter.go b/internal/api/grpc/management/policy_label_converter.go index 3ad0b3329e..9c399cfe33 100644 --- a/internal/api/grpc/management/policy_label_converter.go +++ b/internal/api/grpc/management/policy_label_converter.go @@ -10,9 +10,11 @@ func AddLabelPolicyToDomain(p *mgmt_pb.AddCustomLabelPolicyRequest) *domain.Labe PrimaryColor: p.PrimaryColor, BackgroundColor: p.BackgroundColor, WarnColor: p.WarnColor, + FontColor: p.FontColor, PrimaryColorDark: p.PrimaryColorDark, BackgroundColorDark: p.BackgroundColorDark, WarnColorDark: p.WarnColorDark, + FontColorDark: p.FontColorDark, HideLoginNameSuffix: p.HideLoginNameSuffix, DisableWatermark: p.DisableWatermark, }