Skip to content

Commit

Permalink
feat: add cloud platform (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
xigongdaEricyang authored Jul 30, 2024
1 parent effe250 commit 7701e54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/pages/Import/TaskList/TaskItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const TaskItem = (props: IProps) => {
dataImport: { downloadTaskConfig, importTask },
schema,
moduleConfiguration,
global: { platform }
} = useStore();
const history = useHistory();
const { disableConfigDownload, needPwdConfirm } = moduleConfiguration.dataImport;
Expand Down Expand Up @@ -235,7 +236,7 @@ const TaskItem = (props: IProps) => {
<Icon type="icon-studio-btn-edit" />
</Tooltip>
</Button>
{!isDraft && !loadingStatus.includes(status) && (
{platform !== 'cloud' && !isDraft && !loadingStatus.includes(status) && (
<Button className="primaryBtn" onClick={() => onViewLog(props.data)}>
<Tooltip title={intl.get('import.viewLogs')}>
<Icon type="icon-studio-btn-ddl" />
Expand Down

0 comments on commit 7701e54

Please sign in to comment.