Hide hidden objective groups in snapshot preview
This commit is contained in:
parent
c257447748
commit
f95bbea1ca
|
|
@ -3,7 +3,9 @@
|
||||||
<objective-group
|
<objective-group
|
||||||
:key="group.id"
|
:key="group.id"
|
||||||
:group="group"
|
:group="group"
|
||||||
v-for="group in objectiveGroups"/>
|
v-for="group in objectiveGroups"
|
||||||
|
v-if="!group.hidden"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -58,7 +60,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/_variables.scss";
|
@import "~styles/helpers";
|
||||||
|
|
||||||
.objective-groups {
|
.objective-groups {
|
||||||
margin-bottom: $large-spacing;
|
margin-bottom: $large-spacing;
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ query SnapshotDetail($id: ID!) {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
displayTitle
|
displayTitle
|
||||||
|
hidden
|
||||||
objectives {
|
objectives {
|
||||||
hidden
|
hidden
|
||||||
id
|
id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue