Skip to content

Commit c32097c

Browse files
committed
Import only appendScriptStyle in webhooks
1 parent 8b88530 commit c32097c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/utils/webhooks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from "axios";
22
import Backbone from "backbone";
33
import { getAppRoot } from "onload/loadConfig";
4-
import Utils from "utils/utils";
4+
import { appendScriptStyle } from "utils/utils";
55

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

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

4040
render: function (model) {
4141
this.$el.html(`<div id="${model.id}"></div>`);
42-
Utils.appendScriptStyle(model);
42+
appendScriptStyle(model);
4343
return this;
4444
},
4545
});

0 commit comments

Comments
 (0)