1
0
Fork 0
forked from Kispi/Core

style(webapp): use function instaed of anonymous function variable construct

This commit is contained in:
Simon Giesel 2022-07-13 19:34:05 +02:00
parent 6c06a2d129
commit 8151cad10b

View file

@ -84,13 +84,13 @@ defineProps({
}, },
}); });
const getNavigationEntryClass = (navigationEntry: INavigationEntry) => { function getNavigationEntryClass(navigationEntry: INavigationEntry) {
return { return {
// eslint-disable-next-line @typescript-eslint/naming-convention // eslint-disable-next-line @typescript-eslint/naming-convention
'menu-title': navigationEntry.name === 'divider', 'menu-title': navigationEntry.name === 'divider',
disabled: navigationEntry.disabled, disabled: navigationEntry.disabled,
}; };
}; }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>