hotFix: change require to import
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
5c5d0ec9dc
commit
87e23b49e7
|
@ -1,5 +1,5 @@
|
|||
import ngModule from '../../module';
|
||||
const UserError = require('vn-loopback/util/user-error');
|
||||
import UserError from 'core/lib/user-error';
|
||||
|
||||
export default class Controller {
|
||||
constructor($scope, $element, $http, vnApp, $translate, $state, $location) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import ngModule from '../../module';
|
||||
const UserError = require('vn-loopback/util/user-error');
|
||||
import UserError from 'core/lib/user-error';
|
||||
|
||||
export default class Controller {
|
||||
constructor($scope, $element, $http, vnApp, $translate, $state, $location) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import ngModule from '../module';
|
||||
import ModuleMain from 'salix/components/module-main';
|
||||
const UserError = require('vn-loopback/util/user-error');
|
||||
import UserError from 'core/lib/user-error';
|
||||
|
||||
export default class Ticket extends ModuleMain {
|
||||
fetchParams($params) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import ngModule from '../module';
|
||||
import Descriptor from 'salix/components/descriptor';
|
||||
const UserError = require('vn-loopback/util/user-error');
|
||||
import UserError from 'core/lib/user-error';
|
||||
class Controller extends Descriptor {
|
||||
constructor($element, $, $rootScope) {
|
||||
super($element, $);
|
||||
|
|
Loading…
Reference in New Issue