Remove documents components that do not support local media.

This commit is contained in:
Patrick Fic
2022-05-09 09:56:46 -07:00
parent 45354417d0
commit f9fdd95491
11 changed files with 64 additions and 34 deletions

View File

@@ -25,7 +25,7 @@ export default async function RenderTemplate(
let { contextData, useShopSpecificTemplate } = await fetchContextData(
templateObject
);
console.log(templateObject.name);
const { ignoreCustomMargins } = Templates[templateObject.name];
let reportRequest = {

View File

@@ -0,0 +1,6 @@
import { store } from "../redux/store";
export function CreateExplorerLinkForJob({ jobid }) {
const bodyshop = store.getState().user.bodyshop;
return `imexmedia://${bodyshop.localmediaservernetwork}/Jobs/${jobid}`;
}