it-at-m / refarch-templates

All templates for the Reference Architecture of it@M
MIT License
8 stars 4 forks source link

[Bug] Snackbar color cannot ne assigned to snackbar level #464

Closed DanielOber closed 3 weeks ago

DanielOber commented 3 weeks ago

Bug description

in TheSnackbar.vue an attempt is made to determine the color using the Snackbar_Colors, which leads to a type error because there is a discrepancy between snackbar_colors and snackbar_levels

Expected behaviour

The levels and colors should be the same. Remove the snackbar_colors enum and replace it with the snackbar_levels enum. Extend the snackbar_levels with Success

Steps for reproduction

  1. Try building it
  2. pipeline also throws error

Affected version

latest

Affected template

refarch-frontend

Last working version (optional)

No response

Operating system

No response

Browser

No response

Relevant log output (optional)

No response

Screenshots (optional)

No response

Additional context (optional)

No response

No duplicate

Code of Conduct