|
|
@@ -15,18 +15,19 @@ 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
|
|
- // BUG: grouping.revealed[profile.id.value] needs to be deduped
|
|
|
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
|
|
19
|
21
|
p you revealed:
|
|
20
|
22
|
span(v-if="grouping.revealed[profile.id.value]")
|
|
21
|
23
|
ul(v-for="reveal in grouping.revealed[profile.id.value]")
|
|
22
|
24
|
li {{ reveal.description }}: {{ profile._profile[reveal.description] }}
|
|
23
|
|
- // BUG: they revealed doesn't persist, both for loops are currently necessary
|
|
24
|
25
|
p they revealed:
|
|
25
|
|
- // BUG: persists, but doesn't display upon reveal
|
|
26
|
|
- span(v-if="grouping.revealed[target.profile_id]")
|
|
27
|
|
- ul(v-for="reveal in grouping.revealed[target.profile_id]")
|
|
28
|
|
- li {{ reveal.description }}: {{ target[reveal.description] }}
|
|
29
|
|
- // BUG: reveals, but does not persist
|
|
|
26
|
+ // BUG: persists, but doesn't display upon reveal
|
|
|
27
|
+ span(v-if="grouping.revealed[target.profile_id]")
|
|
|
28
|
+ ul(v-for="reveal in grouping.revealed[target.profile_id]")
|
|
|
29
|
+ li {{ reveal.description }}: {{ target[reveal.description] }}
|
|
|
30
|
+ // BUG: reveals immediately, but does not persist
|
|
30
|
31
|
ul(v-for="revealed in grouping.revealedFromNotification")
|
|
31
|
32
|
li(v-if="revealed[revealed.tag_description] !== profile._profile[revealed.tag_description]") {{ revealed.tag_description }}: {{ revealed[revealed.tag_description] }}
|
|
32
|
33
|
|