Updated Shipping Note

This commit is contained in:
Luca Haid
2025-03-20 14:09:23 +01:00
parent 438cd85d5f
commit b293167527
4 changed files with 82 additions and 30 deletions
@@ -35,6 +35,7 @@ Vue.component('tt-positions-manager',
value: {type: [Array, String], required: false},
config: {type: Object, required: true},
groupMode: {type: Boolean, default: false},
submitLoading: {type: Boolean, default: false}
},
data() {
return {
@@ -98,7 +99,10 @@ Vue.component('tt-positions-manager',
</template>
</template>
<div class="button-wrapper">
<tt-button @click="saveEntry" sm :additional-class="selectedIndex === null ? 'btn-primary' : 'btn-success'"
<tt-button @click="saveEntry"
sm
:loading="submitLoading"
:additional-class="selectedIndex === null ? 'btn-primary' : 'btn-success'"
:text="selectedIndex === null ? 'Hinzufügen' : 'Aktualisieren'"/>
</div>
</div>