Commit c32097c1 authored by guerler's avatar guerler
Browse files

Import only appendScriptStyle in webhooks

parent 8b885301
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
import axios from "axios";
import Backbone from "backbone";
import { getAppRoot } from "onload/loadConfig";
import Utils from "utils/utils";
import { appendScriptStyle } from "utils/utils";

import { rethrowSimple } from "@/utils/simple-error";

@@ -39,7 +39,7 @@ const WebhookView = Backbone.View.extend({

    render: function (model) {
        this.$el.html(`<div id="${model.id}"></div>`);
        Utils.appendScriptStyle(model);
        appendScriptStyle(model);
        return this;
    },
});