AaronSadlerUK / Our.Umbraco.UmbNav

Drag and drop menu editor for Umbraco V8, V9 and V10+
MIT License
10 stars 15 forks source link

Url not available on Link UmbNavItem #68

Closed nzdev closed 2 years ago

nzdev commented 2 years ago

Which exact Umbraco version are you using? For example: 8.7.0 - don't just write v8 or v9

9.4.3

Bug summary

Url not available on Link UmbNavItem. When using the Link navigation item type the url is not available.

Specifics

No response

Steps to reproduce

Set up a doc with umbnav Set up a Link item type with a url and no anchor set Retrieve the UmbNavItem from the Published Property Url is not available

Expected result / actual result

Url is available.

AaronSadlerUK commented 2 years ago

@nzdev Can you confirm which version of UmbNav you are using?

nzdev commented 2 years ago

Hi @AaronSadlerUK . Version 1.1.1

onionstar commented 2 years ago

@nzdev, I was having a similar problem but I had not added @using UmbNav.Core.Extensions into my view, as soon as I did item.Url() worked like a charm

nzdev commented 2 years ago

Thanks @onionstar ! Looks like that should work. I'll give it a go tomorrow.

AaronSadlerUK commented 2 years ago

@nzdev Was this solved?

nzdev commented 2 years ago

I believe so. Thanks.