fix: Customer additional field
This commit is contained in:
parent
628fec9a94
commit
eed570dc87
@ -19,9 +19,7 @@ if endpoints.events || (endpoints.get && endpoints.get.events)
|
||||
|
||||
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3" defer)
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3" defer)
|
||||
//- script(type="module" src="/lib/sib-job-board/sib-job-board.js" defer)
|
||||
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js" defer)
|
||||
//- script(type="module" src="/lib/sib-job-board/dist/index.js" defer)
|
||||
|
||||
if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users))
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.4" defer)
|
||||
|
@ -34,5 +34,4 @@ nav.jsRightMenu(role='navigation')
|
||||
sib-route(name='project-information')
|
||||
li
|
||||
a Information
|
||||
sib-route(name='project-contributions-help')
|
||||
sib-route(name='project-picture' use-id)
|
@ -27,10 +27,16 @@ async function updateSources(resource) {
|
||||
|
||||
async function resToChildrens(resource) {
|
||||
resource = resource.getResourceData();
|
||||
if (resource["http://happy-dev.fr/owl/#user"]) {
|
||||
refreshSibDisplays(resource["http://happy-dev.fr/owl/#user"]["@id"]);
|
||||
}
|
||||
if (resource["http://happy-dev.fr/owl/#project"]) {
|
||||
refreshSibDisplays(resource["http://happy-dev.fr/owl/#project"]["@id"] + "members/");
|
||||
}
|
||||
if (resource["http://happy-dev.fr/owl/#circle"]) {
|
||||
refreshSibDisplays(resource["http://happy-dev.fr/owl/#circle"]["@id"] + "members/");
|
||||
}
|
||||
}
|
||||
|
||||
//auxiliary function updates displays using a given resource
|
||||
//NOTE: this is a temporary workaround and should be replaced by a reactive storage
|
||||
|
@ -31,7 +31,7 @@ div.content-box__info
|
||||
next='project-information'
|
||||
)
|
||||
|
||||
h2 PPhoto du projet
|
||||
h2 Photo du projet
|
||||
|
||||
sib-form.form-picture(
|
||||
bind-resources
|
||||
|
@ -11,4 +11,5 @@ div.content-box__info
|
||||
nested-fields='customer'
|
||||
fields='logo'
|
||||
next='project-edit'
|
||||
additional='name'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user