Skip to content

Commit e49f6f0

Browse files
committed
Added feed source type to list view
1 parent 5825985 commit e49f6f0

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/components/feed-sources/feed-sources-columns.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ function getFeedSourcesColumns() {
1212

1313
const columns = [
1414
{
15-
key: "slides",
16-
// eslint-disable-next-line react/prop-types
17-
content: ({ onNumberOfSlides }) => <>{onNumberOfSlides}</>,
18-
label: t("columns.number-of-slides"),
15+
key: "publishing-from",
16+
content: ({ feedType }) => <>{feedType}</>,
17+
label: t("columns.feed-type"),
1918
},
2019
];
2120

src/components/feed-sources/feed-sources-list.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useTranslation } from "react-i18next";
33
import ContentHeader from "../util/content-header/content-header";
44
import {
55
useGetV2FeedSourcesQuery,
6-
useDeleteV2FeedSourcesByIdMutation,
6+
useDeleteV2FeedSourcesByIdMutation
77
} from "../../redux/api/api.generated.ts";
88
import ListContext from "../../context/list-context.jsx";
99
import ContentBody from "../util/content-body/content-body.jsx";

src/translations/da/common.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@
232232
"loading-messages": {
233233
"deleting-feed-source": "Sletter feed source(s)",
234234
"loading-feed-sources": "Henter feed sources"
235+
},
236+
"columns": {
237+
"feed-type": "Type"
235238
}
236239
},
237240
"feed-source-manager": {

0 commit comments

Comments
 (0)