Skip to content

Commit f94c24c

Browse files
author
Gene Hynson
authored
fix: accessID length, share btn color, query builder dropdown (#3101)
1 parent 26a86a3 commit f94c24c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/flows/components/ReadOnly.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const RunPipeResults: FC = () => {
6464
const ReadOnly: FC = ({children}) => {
6565
const {flow} = useContext(FlowContext)
6666
const params = useParams<{accessID: string}>()
67-
if (!params.accessID || params.accessID.length !== 16 || !flow) {
67+
if (!params.accessID || !flow) {
6868
return (
6969
<div style={{width: '100%'}}>
7070
<NotFound />

src/flows/components/header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const FlowHeader: FC = () => {
205205
icon={IconFont.Share}
206206
onClick={showShare}
207207
color={
208-
!share ? ComponentColor.Primary : ComponentColor.Secondary
208+
!!share ? ComponentColor.Primary : ComponentColor.Secondary
209209
}
210210
titleText="Share Notebook"
211211
/>

src/flows/pipes/QueryBuilder/readOnly.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const QueryBuilder: FC<PipeProp> = ({Context}) => {
3737
icon={IconFont.BucketSolid}
3838
status={ComponentStatus.Disabled}
3939
>
40-
{data.buckets[0] ?? 'No Bucket Selected'}
40+
{data.buckets[0].name ?? 'No Bucket Selected'}
4141
</Dropdown.Button>
4242
)}
4343
menu={onCollapse => (

0 commit comments

Comments
 (0)