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