- {{ t('collectives', 'Add people') }}
+ {{ t('collectives', 'Add members to {name}', { name: newCollectiveName }) }}
@@ -99,7 +99,7 @@
:disabled="loading"
class="modal-buttons-right"
@click="onCreate">
- {{ t('collectives', 'Create') }}
+ {{ createButtonString }}
@@ -207,6 +207,12 @@ export default {
hasSelectedMembersWithoutSelf() {
return Object.keys(this.selectedMembersWithoutSelf).length !== 0
},
+
+ createButtonString() {
+ return this.hasSelectedMembersWithoutSelf
+ ? t('collectives', 'Create')
+ : t('collectives', 'Create without members')
+ },
},
mounted() {