diff --git a/packages/frontend-2/components/workspace/moveProject/SelectProject.vue b/packages/frontend-2/components/workspace/moveProject/SelectProject.vue index db09641f2..452d48cde 100644 --- a/packages/frontend-2/components/workspace/moveProject/SelectProject.vue +++ b/packages/frontend-2/components/workspace/moveProject/SelectProject.vue @@ -11,36 +11,41 @@ class="mb-2" v-on="on" /> -
-
-
- - {{ project.name }} - -
- - {{ project.modelCount.totalCount }} model{{ - project.modelCount.totalCount !== 1 ? 's' : '' - }} - -
-
- - Move... - -
+
+
-

- You don't have any projects that can be moved into this workspace. Only projects - you own and that aren't in another workspace can be moved. -

+ import { graphql } from '~~/lib/common/generated/gql' -import { FormTextInput, useDebouncedTextInput } from '@speckle/ui-components' +import { + CommonLoadingIcon, + FormTextInput, + useDebouncedTextInput +} from '@speckle/ui-components' import type { WorkspaceMoveProjectSelectProject_ProjectFragment } from '~~/lib/common/generated/gql/graphql' import { usePaginatedQuery } from '~/lib/common/composables/graphql' import { workspaceMoveProjectManagerUserQuery } from '~/lib/workspaces/graphql/queries' @@ -81,7 +90,7 @@ const emit = defineEmits<{ }>() const { - query: { result }, + query: { result, loading }, identifier, onInfiniteLoad } = usePaginatedQuery({ diff --git a/packages/frontend-2/components/workspace/moveProject/SelectWorkspace.vue b/packages/frontend-2/components/workspace/moveProject/SelectWorkspace.vue index 2337fd8d1..25a5f6842 100644 --- a/packages/frontend-2/components/workspace/moveProject/SelectWorkspace.vue +++ b/packages/frontend-2/components/workspace/moveProject/SelectWorkspace.vue @@ -1,65 +1,70 @@