Skip to content

Commit

Permalink
updated submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Aug 9, 2019
1 parent 200982e commit 78c34c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -115050,9 +115050,9 @@ var render = function() {
menu.submenus.length > 0
? _c(
"a-sub-menu",
{ key: menu.id },
{ key: "submenu" + menu.id, attrs: { title: menu.name } },
[
_c("span", { attrs: { slot: "title" }, slot: "title" }, [
_c("a-menu-item", { key: menu.id }, [
_c("a", { attrs: { href: menu.url } }, [
_vm._v(
"\n " +
Expand Down
6 changes: 3 additions & 3 deletions resources/components/AvoRedNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
{{ menu.name }}
</a>
</a-menu-item>
<a-sub-menu v-if="menu.submenus.length>0" :key="menu.id">
<span slot="title">
<a-sub-menu v-if="menu.submenus.length>0" :key="'submenu' + menu.id" :title="menu.name">
<a-menu-item :key="menu.id">
<a :href="menu.url">
{{ menu.name }}
</a>
</span>
</a-menu-item>
<a-menu-item v-for="submenu in menu.submenus" :key="submenu.id">
<a :href="submenu.url">
{{ submenu.name }}
Expand Down

0 comments on commit 78c34c4

Please sign in to comment.