|
@@ -10,6 +10,9 @@ function LinkingSection() {
|
|
|
const { t } = useTranslation()
|
|
const { t } = useTranslation()
|
|
|
const { subscriptions } = useSSOContext()
|
|
const { subscriptions } = useSSOContext()
|
|
|
const ssoErrorMessage = getMeta('ol-ssoErrorMessage') as string
|
|
const ssoErrorMessage = getMeta('ol-ssoErrorMessage') as string
|
|
|
|
|
+ const projectSyncSuccessMessage = getMeta(
|
|
|
|
|
+ 'ol-projectSyncSuccessMessage'
|
|
|
|
|
+ ) as string
|
|
|
const [integrationLinkingWidgets] = useState(
|
|
const [integrationLinkingWidgets] = useState(
|
|
|
() =>
|
|
() =>
|
|
|
getMeta('integrationLinkingWidgets') ||
|
|
getMeta('integrationLinkingWidgets') ||
|
|
@@ -42,6 +45,9 @@ function LinkingSection() {
|
|
|
<h3 id="project-sync" className="text-capitalize">
|
|
<h3 id="project-sync" className="text-capitalize">
|
|
|
{t('sync_dropbox_github')}
|
|
{t('sync_dropbox_github')}
|
|
|
</h3>
|
|
</h3>
|
|
|
|
|
+ {projectSyncSuccessMessage ? (
|
|
|
|
|
+ <Alert bsStyle="success">{projectSyncSuccessMessage}</Alert>
|
|
|
|
|
+ ) : null}
|
|
|
<div className="settings-widgets-container">
|
|
<div className="settings-widgets-container">
|
|
|
{integrationLinkingWidgets.map(
|
|
{integrationLinkingWidgets.map(
|
|
|
({ import: importObject, path }, widgetIndex) => (
|
|
({ import: importObject, path }, widgetIndex) => (
|