forked from Kispi/Core
style(webapp): use function instaed of anonymous function variable construct
This commit is contained in:
parent
6c06a2d129
commit
8151cad10b
1 changed files with 2 additions and 2 deletions
|
@ -84,13 +84,13 @@ defineProps({
|
|||
},
|
||||
});
|
||||
|
||||
const getNavigationEntryClass = (navigationEntry: INavigationEntry) => {
|
||||
function getNavigationEntryClass(navigationEntry: INavigationEntry) {
|
||||
return {
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
'menu-title': navigationEntry.name === 'divider',
|
||||
disabled: navigationEntry.disabled,
|
||||
};
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
Loading…
Reference in a new issue