altered nav-menu to show correct category urls
This commit is contained in:
parent
25c2a15b65
commit
c57c5d9b6f
|
|
@ -66,7 +66,7 @@ foreach (app('Webkul\Category\Repositories\CategoryRepository')->getVisibleCateg
|
|||
|
||||
<script type="text/x-template" id="category-item-template">
|
||||
<li>
|
||||
<a :href="url+'/categories/'+this.item['translations'][0].slug">
|
||||
<a :href="url+'/'+this.item['translations'][0].url_path">
|
||||
@{{ name }} 
|
||||
<i class="icon dropdown-right-icon" v-if="haveChildren && item.parent_id != null"></i>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue