derivation as query-param
This commit is contained in:
parent
7f76178458
commit
901abe5869
|
@ -289,8 +289,8 @@ class CCPMethodEditorController extends HTMLElement{
|
|||
cloneMethod(method, derivation){
|
||||
if(this.#locked) return;
|
||||
this.lockRender()
|
||||
const op = derivation ? "derive" : "clone"
|
||||
this.#boot.secureFetch(this.#serviceurl + "/methods/" + method + "/derive").then(
|
||||
const derive = derivation ? "?derive=true" : ""
|
||||
this.#boot.secureFetch(this.#serviceurl + "/methods/" + method + "/clone" + derive).then(
|
||||
(resp)=>{
|
||||
if(resp.status === 200){
|
||||
return resp.json()
|
||||
|
|
Loading…
Reference in New Issue