Revert setting a default icon

This commit is contained in:
Andrew Kingston 2025-02-13 13:46:07 +00:00
parent 5428c788a8
commit 3ae12a6469
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -311,8 +311,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
component[setting.key] = fieldOptions[0]
component.label = fieldOptions[0]
}
} else if (setting.type === "icon") {
component[setting.key] = "ri-star-fill"
} else if (useDefaultValues && setting.defaultValue !== undefined) {
// Use default value where required
component[setting.key] = setting.defaultValue