mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
WRITERS_LINK_CATEGORY moved to constants
This commit is contained in:
parent
8e327b4f38
commit
ce48686ff2
2 changed files with 3 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ const SKIP_EXTRA_NAME = 'skip';
|
|||
const META_LINK_CATEGORY = 'meta';
|
||||
const IMDB_LINK_CATEGORY = 'imdb';
|
||||
const SHARE_LINK_CATEGORY = 'share';
|
||||
const WRITERS_LINK_CATEGORY = 'Writers';
|
||||
const TYPE_PRIORITIES = {
|
||||
movie: 10,
|
||||
series: 9,
|
||||
|
|
@ -37,5 +38,6 @@ module.exports = {
|
|||
META_LINK_CATEGORY,
|
||||
IMDB_LINK_CATEGORY,
|
||||
SHARE_LINK_CATEGORY,
|
||||
WRITERS_LINK_CATEGORY,
|
||||
TYPE_PRIORITIES
|
||||
};
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
|
|||
.filter((category) => {
|
||||
return category !== CONSTANTS.IMDB_LINK_CATEGORY &&
|
||||
category !== CONSTANTS.SHARE_LINK_CATEGORY &&
|
||||
category !== 'Writers';
|
||||
category !== CONSTANTS.WRITERS_LINK_CATEGORY;
|
||||
})
|
||||
.map((category, index) => (
|
||||
<MetaLinks
|
||||
|
|
|
|||
Loading…
Reference in a new issue