feat: enhance profile status

This commit is contained in:
GyDi
2022-03-06 17:02:29 +08:00
parent 6040aae12a
commit b31cdce073
4 changed files with 137 additions and 60 deletions

View File

@@ -127,7 +127,7 @@ const ProfileItem = (props: Props) => {
const urlModeMenu = [
{ label: "Select", handler: onForceSelect },
{ label: "Edit", handler: onEdit },
{ label: "View", handler: onView },
{ label: "File", handler: onView },
{ label: "Update", handler: onUpdateWrapper(false) },
{ label: "Update(Proxy)", handler: onUpdateWrapper(true) },
{ label: "Delete", handler: onDelete },
@@ -135,7 +135,7 @@ const ProfileItem = (props: Props) => {
const fileModeMenu = [
{ label: "Select", handler: onForceSelect },
{ label: "Edit", handler: onEdit },
{ label: "View", handler: onView },
{ label: "File", handler: onView },
{ label: "Delete", handler: onDelete },
];