Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
feat: add only show files input
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Mar 13, 2022
1 parent b5eb004 commit d7cc1aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pages/manage/metas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ interface Meta {
password: string;
hide: string;
upload: boolean;
only_shows: string;
}

const EmptyMeta = {
Expand All @@ -46,6 +47,7 @@ const EmptyMeta = {
password: "",
hide: "",
upload: false,
only_shows: "",
};

const Metas = () => {
Expand Down Expand Up @@ -201,6 +203,11 @@ const Metas = () => {
description: "Hide Files(split by ,)",
type: "string",
},
{
name: "only_shows",
description: "Only show files(split by ,)",
type: "string",
},
{
name: "upload",
description: "Allow visitors to upload",
Expand Down

0 comments on commit d7cc1aa

Please sign in to comment.