Commit 8b44c80b authored by Walmyr Lima's avatar Walmyr Lima

Prettify vue component due to static-analysis failure

parent 98ccd4dd
...@@ -167,9 +167,8 @@ export default { ...@@ -167,9 +167,8 @@ export default {
class="float-right js-weight-edit-link" class="float-right js-weight-edit-link"
href="#" href="#"
@click="onEditClick(!shouldShowEditField)" @click="onEditClick(!shouldShowEditField)"
>{{ __('Edit') }}</a
> >
{{ __('Edit') }}
</a>
</div> </div>
<div v-if="shouldShowEditField" class="hide-collapsed"> <div v-if="shouldShowEditField" class="hide-collapsed">
<input <input
...@@ -188,15 +187,17 @@ export default { ...@@ -188,15 +187,17 @@ export default {
</div> </div>
<div v-if="shouldShowWeight" class="value hide-collapsed js-weight-weight-label"> <div v-if="shouldShowWeight" class="value hide-collapsed js-weight-weight-label">
<span v-if="!isNoValue"> <span v-if="!isNoValue">
<strong class="js-weight-weight-label-value" data-qa-selector="weight_label_value">{{ weight }}</strong> <strong class="js-weight-weight-label-value" data-qa-selector="weight_label_value">{{
weight
}}</strong>
<span v-if="editable"> <span v-if="editable">
- -
<a class="btn-default-hover-link js-weight-remove-link" href="#" @click="removeWeight"> <a class="btn-default-hover-link js-weight-remove-link" href="#" @click="removeWeight">{{
{{ __('remove weight') }} __('remove weight')
</a> }}</a>
</span> </span>
</span> </span>
<span v-else class="no-value"> {{ noValueLabel }} </span> <span v-else class="no-value">{{ noValueLabel }}</span>
</div> </div>
</div> </div>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment