From cde2c42b4d6a24f8b4a3b1b1e40f2ee47d5e5565 Mon Sep 17 00:00:00 2001 From: Jochen Klar Date: Tue, 19 Nov 2024 13:23:08 +0100 Subject: [PATCH] Fix baseUrl import --- .../assets/js/projects/components/helper/PendingInvitations.js | 2 +- rdmo/projects/assets/js/projects/components/main/Projects.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rdmo/projects/assets/js/projects/components/helper/PendingInvitations.js b/rdmo/projects/assets/js/projects/components/helper/PendingInvitations.js index 6338e0eb7c..d7322fdee5 100644 --- a/rdmo/projects/assets/js/projects/components/helper/PendingInvitations.js +++ b/rdmo/projects/assets/js/projects/components/helper/PendingInvitations.js @@ -1,7 +1,7 @@ import React from 'react' import PropTypes from 'prop-types' -import baseUrl from 'rdmo/core/assets/js/utils/meta' +import { baseUrl } from 'rdmo/core/assets/js/utils/meta' import { ROLE_LABELS } from '../../utils' diff --git a/rdmo/projects/assets/js/projects/components/main/Projects.js b/rdmo/projects/assets/js/projects/components/main/Projects.js index 34c56d4fbc..93e38e65db 100644 --- a/rdmo/projects/assets/js/projects/components/main/Projects.js +++ b/rdmo/projects/assets/js/projects/components/main/Projects.js @@ -5,7 +5,7 @@ import { get, isEmpty } from 'lodash' import { Link, Modal, SearchField } from 'rdmo/core/assets/js/components' import { useFormattedDateTime, useModal, useScrollToTop } from 'rdmo/core/assets/js/hooks' import { language } from 'rdmo/core/assets/js/utils' -import baseUrl from 'rdmo/core/assets/js/utils/meta' +import { baseUrl } from 'rdmo/core/assets/js/utils/meta' import { PendingInvitations, ProjectFilters, ProjectImport, Table } from '../helper' import { getTitlePath, getUserRoles, userIsManager, HEADER_FORMATTERS, SORTABLE_COLUMNS } from '../../utils'