mirror of
				https://github.com/CorentinTh/it-tools.git
				synced 2025-10-31 03:53:52 +00:00 
			
		
		
		
	refactor(base-layout): renammed one letter variable
This commit is contained in:
		| @@ -19,7 +19,7 @@ const commitSha = import.meta.env.GIT_SHORT_SHA; | |||||||
| const makeLabel = (text: string, to: string) => () => h(RouterLink, { to }, { default: () => text }); | const makeLabel = (text: string, to: string) => () => h(RouterLink, { to }, { default: () => text }); | ||||||
| const makeIcon = (icon: Component) => () => h(NIcon, null, { default: () => h(icon) }); | const makeIcon = (icon: Component) => () => h(NIcon, null, { default: () => h(icon) }); | ||||||
|  |  | ||||||
| const m = toolsByCategory.map((category) => ({ | const menuOptions = toolsByCategory.map((category) => ({ | ||||||
|   label: category.name, |   label: category.name, | ||||||
|   key: category.name, |   key: category.name, | ||||||
|   type: 'group', |   type: 'group', | ||||||
| @@ -53,7 +53,7 @@ const m = toolsByCategory.map((category) => ({ | |||||||
|           :value="(route.name as string)" |           :value="(route.name as string)" | ||||||
|           :collapsed-width="64" |           :collapsed-width="64" | ||||||
|           :collapsed-icon-size="22" |           :collapsed-icon-size="22" | ||||||
|           :options="m" |           :options="menuOptions" | ||||||
|           :indent="20" |           :indent="20" | ||||||
|         /> |         /> | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user