chore(removing dead code): removing LabelPolicyAssetsRemovedEventType event is never made (#10742)

# Which Problems Are Solved

The event `LabelPolicyAssetsRemovedEventType` is never actually made
anywhere, this is dead code, this PR will remove it
This commit is contained in:
Iraq
2025-09-22 06:19:34 +00:00
committed by GitHub
parent b6ff4ff16c
commit e5575d6042
10 changed files with 2 additions and 170 deletions
@@ -159,14 +159,6 @@ func (i *LabelPolicyView) AppendEvent(event eventstore.Event) (err error) {
case instance.LabelPolicyActivatedEventType,
org.LabelPolicyActivatedEventType:
i.State = int32(domain.LabelPolicyStateActive)
case instance.LabelPolicyAssetsRemovedEventType,
org.LabelPolicyAssetsRemovedEventType:
i.LogoURL = ""
i.IconURL = ""
i.LogoDarkURL = ""
i.IconDarkURL = ""
i.FontURL = ""
i.State = int32(domain.LabelPolicyStatePreview)
}
return err
}