forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix searchbar X button (flyteorg#564)
chore: fix searchbar X button Signed-off-by: Carina Ursu <[email protected]> Signed-off-by: Carina Ursu <[email protected]>
- Loading branch information
1 parent
3f2bbfb
commit 1f89e2b
Showing
6 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
packages/zapp/console/src/components/Literals/__stories__/helpers/typeGenerators.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
packages/zapp/console/src/components/Literals/test/helpers/mock_simpleTypes.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import { Core } from 'flyteidl'; | ||
|
||
export function extractSimpleTypes() { | ||
const simpleTypes= Object.keys(Core.SimpleType).map((key) => ({ | ||
[key]: { | ||
type: 'simple', | ||
simple: Core.SimpleType[key], | ||
}, | ||
})).reduce((acc, v) => ({...acc, ...v}), {}); | ||
const simpleTypes = Object.keys(Core.SimpleType) | ||
.map((key) => ({ | ||
[key]: { | ||
type: 'simple', | ||
simple: Core.SimpleType[key], | ||
}, | ||
})) | ||
.reduce((acc, v) => ({ ...acc, ...v }), {}); | ||
return simpleTypes; | ||
} | ||
|
||
const simple: Core.SimpleType[] = extractSimpleTypes() as any; | ||
|
||
export { | ||
simple | ||
}; | ||
export { simple }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters