Fix AppSumo licence owner user invites (#492)
This commit is contained in:
@@ -35,8 +35,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { watch, ref } from "vue"
|
||||
|
||||
const props = defineProps({
|
||||
isWorkspaceAdmin: {},
|
||||
disabled: {
|
||||
@@ -49,8 +47,8 @@ const emit = defineEmits(['fetchUsers'])
|
||||
const workspacesStore = useWorkspacesStore()
|
||||
|
||||
const roleOptions = [
|
||||
{ name: "User", value: "user" },
|
||||
{ name: "Admin", value: "admin" }
|
||||
{name: "User", value: "user"},
|
||||
{name: "Admin", value: "admin"}
|
||||
]
|
||||
|
||||
const newUser = ref("")
|
||||
@@ -78,7 +76,7 @@ const addUser = () => {
|
||||
|
||||
emit("fetchUsers")
|
||||
}).catch((error) => {
|
||||
useAlert().error("There was an error adding user")
|
||||
useAlert().error("There was an error adding user: " + error.data.message)
|
||||
}).finally(() => {
|
||||
addingUsersState.value = false
|
||||
})
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
|
||||
<script>
|
||||
import { computed } from "vue"
|
||||
import { useAuthStore } from "../../../stores/auth"
|
||||
import VButton from "~/components/global/VButton.vue"
|
||||
|
||||
export default {
|
||||
@@ -96,7 +95,7 @@ export default {
|
||||
form_quantity: "Unlimited",
|
||||
file_upload_size: "75mb",
|
||||
domain_names: "Unlimited",
|
||||
users: 'Unlimited'
|
||||
users: 10
|
||||
},
|
||||
}[this.licenseTier]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user