Closed bence444 closed 1 month ago
@bence444 is attempting to deploy a commit to the Themesberg Team on Vercel.
A member of the Team first needs to authorize it.
Just realized that i overcomplicated with the computed.
Also removed the check it's existence from the
verify()
function.
That was a mistake, and made it back.
Added
optional
parameter to the SidebarItemGroupComponent, so it's possibly to create a "simple" sidebar items without dropdowns (e.g. Logout button). Also removed the check it's existence from theverify()
function.Removed the default value of
color
input, and created a private computed to use infetchClass()
.color
is set it'll be the valuecolor
is not set, and a SidebarItemGroupComponent exists, it'll be the group's colorIn this example the SidebarItems color's will look like this:
primary - inherited from SidebarItemGroupgreen from SidebarMenu (Edit: somehow i messed up something, it looks good to me)