Skip to content

Commit

Permalink
[#31418] Remove "primary" category identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-viget committed Sep 24, 2024
1 parent 4cc246e commit b046ad0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions resources/js/components/Category/Editable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<div
v-if="originalId"
class="category-item custom-select"
:class="{ 'font-weight-bold': isPrimary }"
>
{{ selectedValue }}
</div>
Expand Down Expand Up @@ -78,10 +77,6 @@ export default {
type: Number,
default: null,
},
isPrimary: {
type: Boolean,
default: false,
},
categoryValue: {
type: String,
default: null,
Expand Down
2 changes: 0 additions & 2 deletions resources/js/components/Concept/Default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
<p class="mb-2">
<span
v-if="!getEditMode() || !canEditVocabulary"
:class="{ 'font-weight-bold': index === 0 }"
>
{{ cat.value }}
</span>
Expand All @@ -140,7 +139,6 @@
:category-id="cat.id"
:category-value="cat.value"
:category-index="index"
:is-primary="0 === index"
:selected-categories="selectedCategories"
@save-category="saveCategory"
@delete-category="deleteCategory"
Expand Down

0 comments on commit b046ad0

Please sign in to comment.