File tree Expand file tree Collapse file tree 4 files changed +574
-1
lines changed
Expand file tree Collapse file tree 4 files changed +574
-1
lines changed Original file line number Diff line number Diff line change 6464 :title =" t('photos', 'Tags')" >
6565 <Tag slot =" icon" :size =" 20" />
6666 </NcAppNavigationItem >
67+ <NcAppNavigationItem :to =" {name: 'locations'}" :title =" t('photos', 'Locations')" >
68+ <MapMarker slot =" icon" :size =" 20" />
69+ </NcAppNavigationItem >
6770 <NcAppNavigationItem v-if =" showLocationMenuEntry"
6871 :to =" {name: 'maps'}"
69- :title =" t('photos', 'Locations ')" >
72+ :title =" t('photos', 'Maps ')" >
7073 <MapMarker slot =" icon" :size =" 20" />
7174 </NcAppNavigationItem >
7275 </template >
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ const AlbumContent = () => import('../views/AlbumContent')
3636const SharedAlbums = ( ) => import ( '../views/SharedAlbums' )
3737const SharedAlbumContent = ( ) => import ( '../views/SharedAlbumContent' )
3838const PublicAlbumContent = ( ) => import ( '../views/PublicAlbumContent' )
39+ const Locations = ( ) => import ( '../views/Locations' )
40+ const LocationContent = ( ) => import ( '../views/LocationContent' )
3941const Tags = ( ) => import ( '../views/Tags' )
4042const TagContent = ( ) => import ( '../views/TagContent' )
4143const Timeline = ( ) => import ( '../views/Timeline' )
@@ -127,6 +129,19 @@ const router = new Router({
127129 token : route . params . token ,
128130 } ) ,
129131 } ,
132+ {
133+ path : '/locations' ,
134+ component : Locations ,
135+ name : 'locations' ,
136+ } ,
137+ {
138+ path : '/locations/:locationName*' ,
139+ component : LocationContent ,
140+ name : 'locations' ,
141+ props : route => ( {
142+ locationName : route . params . locationName ,
143+ } ) ,
144+ } ,
130145 {
131146 path : '/folders/:path*' ,
132147 component : Folders ,
You can’t perform that action at this time.
0 commit comments