Closed mstfkhazaal closed 4 months ago
New "Get Navigation Label" Function
We've added a shiny new function in EmailResource.php
that fetches the label directly from the system's config file 😎. And here's the kicker... If there's no label set there, don't worry – it got it covered! The function will just return a standard "Email log" label. Perfect fallback plan! 🌈
New "Get Navigation Group" Function
Hold onto your hats because we've also whipped up another function in EmailResource.php
named "Get Navigation Group" 😉. This hard worker fetches the group from the same config file. And in case no group has been set there, don't fret! The function smartly returns whatever value the parent's getNavigationGroup()
function carries. It's like the perfect tag-team of functions! 🏆🎈
Tests seem to run OK now. Is this ready for review?
This is a PR repair #24 How can we test it and make sure it works correctly?