Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#1232 from CannonLock/fixup-merge
Browse files Browse the repository at this point in the history
Fixup a merge issue
  • Loading branch information
haoming29 authored May 6, 2024
2 parents 46aabb8 + 881b4f0 commit d708ec3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions web_ui/frontend/app/registry/cache/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@

import {PutPage} from "@/app/registry/components/PutPage";

if(!response.ok){
try {
let data = await response.json()
setAlert({severity: "error", message: response.status + ": " + data['error']})
} catch (e) {
setAlert({severity: "error", message: `Failed to edit namespace: ${formData.get("prefix")}`})
}
} else {
setAlert({severity: "success", message: `Successfully edited namespace: ${formData.get("prefix")}`})
setTimeout(() => {window.location.href = "/view/registry/"}, 3000)
}
import {namespaceToCache, putGeneralNamespace} from "@/app/registry/components/util";
import {Box, Grid, Typography} from "@mui/material";
import React from "react";
Expand Down

0 comments on commit d708ec3

Please sign in to comment.