浏览代码

:gear: fix imports for frontend tests

brian_dev_incorp_login
j 2 年前
父节点
当前提交
9e36e1a684
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2
    1
      frontend/src/services/notification.service.js
  2. 1
    1
      frontend/src/utils/mixins.js

+ 2
- 1
frontend/src/services/notification.service.js 查看文件

1
 import { remote } from '../utils/db.js'
1
 import { remote } from '../utils/db.js'
2
-import { currentProfile } from '../services'
2
+import { currentProfile } from '../services/login.service.js'
3
+
3
 /**
4
 /**
4
  * Base notifier class
5
  * Base notifier class
5
  * @param {number} profileId needed to listen for events for this profile
6
  * @param {number} profileId needed to listen for events for this profile

+ 1
- 1
frontend/src/utils/mixins.js 查看文件

1
-import { currentProfile } from '../services'
1
+import { currentProfile } from '../services/login.service.js'
2
 
2
 
3
 const pidMixin = {
3
 const pidMixin = {
4
     props: {
4
     props: {

正在加载...
取消
保存