Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti committed Jun 28, 2024
1 parent 7bbe496 commit 5a46a77
Show file tree
Hide file tree
Showing 19 changed files with 313 additions and 99 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Resources/config/default_parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ parameters:
ibexa.dam_widget.image.mappings:
image:
imageFieldIdentifier: image
tagsFieldIdentifier: tags
descriptionFieldIdentifier: description

ibexa.dam_widget.image.aggregations:
KeywordTermAggregation:
Expand Down
4 changes: 4 additions & 0 deletions src/bundle/Resources/public/img/ibexa-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/img/icons/circle-close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/img/icons/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/bundle/Resources/public/img/icons/duplicate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/img/icons/edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/img/icons/qa-form.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/img/icons/system-information.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ const getContentTypeNameByHref = (contentTypeHref) => {
return getContentTypeDataByHref(contentTypeHref)?.name ?? null;
};

const getContentTypeIdentifierByHref = (contentTypeHref) => {
return getContentTypeDataByHref(contentTypeHref)?.identifier ?? null;
};

const getContentTypeDataByHref = (contentTypeHref) => {
if (!contentTypesDataMapByHref) {
contentTypesDataMapByHref = createContentTypeDataMapByHref();
Expand All @@ -113,4 +117,5 @@ export {
getContentTypeIconUrlByHref,
getContentTypeDataByHref,
getContentTypeNameByHref,
getContentTypeIdentifierByHref,
};
Loading

0 comments on commit 5a46a77

Please sign in to comment.