Skip to content

Commit

Permalink
Extended ImageMetaData with originalFileName;
Browse files Browse the repository at this point in the history
  • Loading branch information
stef-coenen committed Aug 14, 2023
1 parent 7a082b3 commit 1b84458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/feed-app/src/templates/SocialFeed/ArticlesPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { InfiniteData } from '@tanstack/react-query';
import { Article, PostContent, PostFile } from '@youfoundation/js-lib/public';
import { Article, PostFile } from '@youfoundation/js-lib/public';
import {
ActionButton,
ActionLink,
Expand Down Expand Up @@ -114,7 +114,7 @@ const PublishedArticlesView = () => {
{articleData ? (
<div className="-m-3">
{!flattenedPosts.length ? (
<p className="m-3">{t('No articles found')}</p>
<SubtleMessage className="m-3">{t('No articles found')}</SubtleMessage>
) : (
flattenedPosts.map((draft, index) => {
const channel = channels?.find(
Expand Down
1 change: 1 addition & 0 deletions packages/js-lib/src/core/MediaData/MediaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface ImageUploadResult extends MediaUploadResult {

export interface ImageMetadata {
description?: string;
originalFileName?: string;
camera?: {
make?: string;
model?: string;
Expand Down

0 comments on commit 1b84458

Please sign in to comment.