diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-30 01:10:20 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-30 01:10:20 -0400 |
| commit | 6de58d7ecbfd14beb7389c6ff56e764b5c00ba25 (patch) | |
| tree | 57b396b30644ac2fa3ec48fe38bc3efb419ce88d /src/client/views/collections/CollectionCarouselView.tsx | |
| parent | e17737982ea2ce84b4bded798ee7bdf730a75715 (diff) | |
changed acl- and some other field- to acl_ and field_ style
Diffstat (limited to 'src/client/views/collections/CollectionCarouselView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionCarouselView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index 51352d3e2..fda320077 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -52,7 +52,7 @@ export class CollectionCarouselView extends CollectionSubView() { }; captionStyleProvider = (doc: Doc | undefined, captionProps: Opt<FieldViewProps>, property: string): any => { // first look for properties on the document in the carousel, then fallback to properties on the container - const childValue = doc?.['caption-' + property] ? this._props.styleProvider?.(doc, captionProps, property) : undefined; + const childValue = doc?.['caption_' + property] ? this._props.styleProvider?.(doc, captionProps, property) : undefined; return childValue ?? this._props.styleProvider?.(this.layoutDoc, captionProps, property); }; panelHeight = () => this._props.PanelHeight() - (StrCast(this.layoutDoc._layout_showCaption) ? 50 : 0); |
