Ver código fonte

:recycle: pulled out notification code to not overlap code work

tags/0.0.1^2
K Rob 3 anos atrás
pai
commit
16a5fee04a
2 arquivos alterados com 2 adições e 5 exclusões
  1. 1
    2
      frontend/src/App.vue
  2. 1
    3
      frontend/src/utils/index.js

+ 1
- 2
frontend/src/App.vue Ver arquivo

1
 <template lang="pug">
1
 <template lang="pug">
2
 w-app
2
 w-app
3
-    w-toolbar.w-flex.no-grow.align-start.mb4
3
+    w-toolbar().smd-hide.w-flex.no-grow.align-start.mb4
4
         .title2 Siimee
4
         .title2 Siimee
5
         .spacer
5
         .spacer
6
         w-button.ml2 Home
6
         w-button.ml2 Home
13
     w-drawer(v-model="openDrawer")
13
     w-drawer(v-model="openDrawer")
14
         SideBar(@updatePid="setPid" :pid="profile.id.value")
14
         SideBar(@updatePid="setPid" :pid="profile.id.value")
15
         
15
         
16
-
17
     RouterView(
16
     RouterView(
18
         v-if="profile.isLoggedIn"
17
         v-if="profile.isLoggedIn"
19
         :pid="profile.id.value"
18
         :pid="profile.id.value"

+ 1
- 3
frontend/src/utils/index.js Ver arquivo

2
 
2
 
3
 import { Connector } from './db'
3
 import { Connector } from './db'
4
 import { SurveyFactory } from './survey'
4
 import { SurveyFactory } from './survey'
5
-import { NotificationFactory } from './notification'
6
 import { possible } from './lang'
5
 import { possible } from './lang'
7
 import { pidMixin, cardMixin } from './mixins'
6
 import { pidMixin, cardMixin } from './mixins'
8
 
7
 
22
 }
21
 }
23
 
22
 
24
 const surveyFactory = new SurveyFactory(possible['usa'])
23
 const surveyFactory = new SurveyFactory(possible['usa'])
25
-const notificationFactory = new NotificationFactory
24
+
26
 
25
 
27
 const mixins = { pidMixin, cardMixin }
26
 const mixins = { pidMixin, cardMixin }
28
 
27
 
104
     api,
103
     api,
105
     validatorMapping,
104
     validatorMapping,
106
     surveyFactory,
105
     surveyFactory,
107
-    notificationFactory,
108
     makeKebob,
106
     makeKebob,
109
     mixins,
107
     mixins,
110
     randomSurveyResponses,
108
     randomSurveyResponses,

Carregando…
Cancelar
Salvar