|
|
@@ -15,19 +15,14 @@ main.view--chat
|
|
15
|
15
|
button(@click='reveal(8)') reveal my email
|
|
16
|
16
|
// TODO: Remove later, only for testing
|
|
17
|
17
|
button(@click='checkData()') check data
|
|
18
|
|
- // TODO: Refactor, what if two people have the same name, etc.?
|
|
19
|
|
- // NOTE: see notes in services/grouping.service.js and
|
|
20
|
|
- // services/notification.service.js
|
|
21
|
18
|
p you revealed:
|
|
22
|
19
|
span(v-if="grouping.revealed[profile.id.value]")
|
|
23
|
20
|
ul(v-for="reveal in grouping.revealed[profile.id.value]")
|
|
24
|
21
|
li {{ reveal.description }}: {{ profile._profile[reveal.description] }}
|
|
25
|
22
|
p they revealed:
|
|
26
|
|
- // BUG: persists, but doesn't display upon reveal
|
|
27
|
23
|
span(v-if="grouping.revealed[target.profile_id]")
|
|
28
|
24
|
ul(v-for="reveal in grouping.revealed[target.profile_id]")
|
|
29
|
25
|
li {{ reveal.description }}: {{ target[reveal.description] }}
|
|
30
|
|
- // BUG: reveals immediately, but does not persist
|
|
31
|
26
|
ul(v-for="revealed in grouping.revealedFromNotification")
|
|
32
|
27
|
li(v-if="revealed[revealed.tag_description] !== profile._profile[revealed.tag_description]") {{ revealed.tag_description }}: {{ revealed[revealed.tag_description] }}
|
|
33
|
28
|
|