Fix loading indicator please wait translation

This commit is contained in:
advplyr 2024-08-30 17:16:46 -05:00
parent a2c2eef11d
commit 3dfbddda33

View file

@ -7,7 +7,7 @@
<div class="absolute top-0 mt-1 w-3 h-3 rounded-full bg-green-500"></div>
<div class="absolute top-0 mt-1 w-3 h-3 rounded-full bg-green-500"></div>
</div>
<div class="text-gray-200 text-xs font-light mt-2 text-center">{{ text }}</div>
<div class="text-gray-200 text-xs font-light mt-2 text-center">{{ message }}</div>
</div>
</div>
</template>
@ -17,8 +17,12 @@ export default {
props: {
text: {
type: String,
//default: this.$strings.MessagePleaseWait
default: 'Please wait...'
default: null
}
},
computed: {
message() {
return this.text || this.$strings.MessagePleaseWait
}
}
}