Skip to content

Commit

Permalink
MAT-7171: fix for versioning (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
chubert-sb authored May 7, 2024
1 parent 9c7d39f commit 468746a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/cqlLibraryList/CqlLibraryList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,10 @@ export default function CqlLibraryList({ cqlLibraryList, onListUpdate }) {
setSelectedCqlLibrary(cqlLibrary);
setCreateVersionDialog({
open: true,
cqlLibraryId: selectedCQLLibrary.id,
cqlLibraryError: selectedCQLLibrary.cqlErrors,
cqlLibraryId: cqlLibrary.id,
cqlLibraryError: cqlLibrary.cqlErrors,
isCqlPresent:
selectedCQLLibrary &&
selectedCQLLibrary.cql?.trim().length > 0,
cqlLibrary && cqlLibrary.cql?.trim().length > 0,
});
})
.catch(() => {
Expand Down

0 comments on commit 468746a

Please sign in to comment.