Merge pull request #1266 from OpenSignLabs/validation

fix: when pull latest using docker pdf files get remove with useLocal
This commit is contained in:
prafull-opensignlabs
2024-09-26 17:09:49 +05:30
committed by GitHub
2 changed files with 5 additions and 1 deletions
@@ -15,6 +15,7 @@ const UpdateExistUserAdmin = () => {
const [isAlert, setIsAlert] = useState({ type: "danger", msg: "" });
useEffect(() => {
checkIsAdminExist();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const checkIsAdminExist = async () => {
@@ -22,7 +23,7 @@ const UpdateExistUserAdmin = () => {
const isAdminExist = await Parse.Cloud.run("checkadminexist");
if (isAdminExist !== "not_exist") {
// console.log("isAdminExist ", isAdminExist);
setErrMsg("Admin already exists.");
setErrMsg(t("admin-exists"));
}
} catch (err) {
console.log("Err in checkadminexist", err);
+3
View File
@@ -2,6 +2,8 @@ services:
server:
image: opensign/opensignserver:main
container_name: OpenSignServer-container
volumes:
- opensign-files:/usr/src/app/files
ports:
- "8080:8080"
depends_on:
@@ -56,3 +58,4 @@ volumes:
web-root:
caddy_data:
caddy_config:
opensign-files: