bugfix: Use correct circle endpoints for events and resources
This commit is contained in:
parent
db481408a4
commit
e68a2f7631
@ -1,7 +1,7 @@
|
||||
div.whitespace-normal
|
||||
solid-event(data-src=`${component.endpoints.events}`
|
||||
range-event-type=`${component.endpoints.typeevents}`
|
||||
range-event-circle=`${component.endpoints.circles}`
|
||||
range-event-circle=`${getComponent('circles').endpoints.get}/`
|
||||
upload-dir=`${component.endpoints.uploads}`
|
||||
id-prefix='default'
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ div.whitespace-normal
|
||||
solid-resource(data-src=`${component.endpoints.resources}`
|
||||
range-resource-type=`${component.endpoints.resourcestypes}`
|
||||
range-resource-keyword=`${component.endpoints.resourceskeywords}`
|
||||
range-resource-circle=`${component.endpoints.circles}`
|
||||
range-resource-circle=`${getComponent('circles').endpoints.get}/`
|
||||
associated-circle-label=""
|
||||
data-trans=`associated-circle-label=${component.parameters && component.parameters.associatedName ? component.parameters.associatedName : 'circle.extensions.associated'}`
|
||||
upload-dir=`${component.endpoints.uploads}`
|
||||
|
@ -3,7 +3,7 @@ solid-event(
|
||||
bind-resources
|
||||
nested-field="events"
|
||||
range-event-type=`${component.extensions.find(c => c.type=='events').endpoints.typeevents}`
|
||||
range-event-circle=`${component.endpoints.get}`
|
||||
range-event-circle=`${component.endpoints.get}/`
|
||||
upload-dir=`${component.extensions.find(c => c.type=='events').endpoints.uploads}`
|
||||
id-prefix=`${component.route}`
|
||||
uniq=component.uniq
|
||||
|
@ -2,9 +2,9 @@ solid-resource(
|
||||
class='w700'
|
||||
bind-resources
|
||||
nested-field="resources"
|
||||
range-resource-type=`${component.get('resources').endpoints.resourcestypes}`
|
||||
range-resource-keyword=`${component.get('resources').endpoints.resourceskeywords}`
|
||||
range-resource-circle=`${component.endpoints.get}`
|
||||
upload-dir=`${component.get('resources').endpoints.uploads}`
|
||||
range-resource-type=`${component.extensions.find(c => c.type=='resources').endpoints.resourcestypes}`
|
||||
range-resource-keyword=`${component.extensions.find(c => c.type=='resources').endpoints.resourceskeywords}`
|
||||
range-resource-circle=`${component.endpoints.get}/`
|
||||
upload-dir=`${component.extensions.find(c => c.type=='resources').endpoints.uploads}`
|
||||
id-prefix='circles'
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user