mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 09:40:39 +00:00
TeamMembersPreview refactoring
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
<label class="input-label">{{ $t('Your Members') }}:</label>
|
||||
<span v-if="errors[0]" class="error-message" style="margin-top: -5px">{{ $t('Please add at least one member.') }}</span>
|
||||
<TeamList v-model="invitations" />
|
||||
<p v-if="Object.values(invitations).length === 0" class="input-help">{{ $t('Please add at least one member into your Team Folder.') }}</p>
|
||||
</ValidationProvider>
|
||||
|
||||
<InfoBox v-if="! isNewFolderTeamCreation" style="margin-bottom: 0">
|
||||
@@ -163,8 +164,8 @@
|
||||
this.$refs.teamFolderForm.reset()
|
||||
|
||||
this.invitations.push({
|
||||
type: 'invitation',
|
||||
email: this.email,
|
||||
avatar: '/assets/images/default-avatar.png',
|
||||
permission: 'can-edit',
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user