Remove documents components that do not support local media.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
6
client/src/utils/localmedia.js
Normal file
6
client/src/utils/localmedia.js
Normal 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}`;
|
||||
}
|
||||
Reference in New Issue
Block a user