diff --git a/app/views/Sources/SourcesTable/Actions/index.tsx b/app/views/Sources/SourcesTable/Actions/index.tsx index 71de463ab0..81318a79a3 100644 --- a/app/views/Sources/SourcesTable/Actions/index.tsx +++ b/app/views/Sources/SourcesTable/Actions/index.tsx @@ -5,6 +5,7 @@ import { IoChevronUpOutline, IoChevronDownOutline, IoWarningOutline, + IoInformation, } from 'react-icons/io5'; import { _cs, isDefined } from '@togglecorp/fujs'; import { MdModeEdit } from 'react-icons/md'; @@ -15,6 +16,7 @@ import { useConfirmation, Button, RowExpansionContext, + Tooltip, useModalState, useAlert, } from '@the-deep/deep-ui'; @@ -209,9 +211,22 @@ function Actions(props: Props) { : entriesCount < 1; const noOfEntries = filteredEntriesCount ?? entriesCount; + const projectHasFramework = isDefined(project?.analysisFramework?.id); + return (
+ {!projectHasFramework && ( +
+ + + Looks like you have not chosen a framework for your project. + Please edit your project or ask your admin to select a + framework and start tagging. + +
+ + )} {canEditSource && (