mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:57:32 +00:00
fix: subscription (#1918)
* fix: disable button until redirect is ready * fix: hide unnecessary button * fix: format audit log retention * fix: enable descriptions to be empty * fix: enable descriptions to be empty
This commit is contained in:
@@ -73,13 +73,13 @@ func (wm *IAMFeaturesWriteModel) NewSetEvent(
|
||||
if tierName != "" && wm.TierName != tierName {
|
||||
changes = append(changes, features.ChangeTierName(tierName))
|
||||
}
|
||||
if tierDescription != "" && wm.TierDescription != tierDescription {
|
||||
if wm.TierDescription != tierDescription {
|
||||
changes = append(changes, features.ChangeTierDescription(tierDescription))
|
||||
}
|
||||
if wm.State != state {
|
||||
changes = append(changes, features.ChangeState(state))
|
||||
}
|
||||
if stateDescription != "" && wm.StateDescription != stateDescription {
|
||||
if wm.StateDescription != stateDescription {
|
||||
changes = append(changes, features.ChangeStateDescription(stateDescription))
|
||||
}
|
||||
if auditLogRetention != 0 && wm.AuditLogRetention != auditLogRetention {
|
||||
|
@@ -80,7 +80,7 @@ func (wm *OrgFeaturesWriteModel) NewSetEvent(
|
||||
if tierName != "" && wm.TierName != tierName {
|
||||
changes = append(changes, features.ChangeTierName(tierName))
|
||||
}
|
||||
if tierDescription != "" && wm.TierDescription != tierDescription {
|
||||
if wm.TierDescription != tierDescription {
|
||||
changes = append(changes, features.ChangeTierDescription(tierDescription))
|
||||
}
|
||||
if wm.State != state {
|
||||
|
Reference in New Issue
Block a user