Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
9eaa5e82
Commit
9eaa5e82
authored
Aug 17, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: deploy from run and deploy tab error
parent
01ce05a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
terminalReducer.ts
libs/remix-ui/terminal/src/lib/reducers/terminalReducer.ts
+1
-1
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+2
-0
No files found.
libs/remix-ui/terminal/src/lib/reducers/terminalReducer.ts
View file @
9eaa5e82
...
...
@@ -177,7 +177,7 @@ export const registerScriptRunnerReducer = (state, action) => {
case
'unknownTransaction'
:
return
{
...
state
,
journalBlocks
:
initialState
.
journalBlocks
.
push
({
message
:
action
.
payload
.
message
,
style
:
''
,
name
:
'knownTransaction'
})
journalBlocks
:
initialState
.
journalBlocks
.
push
({
message
:
action
.
payload
.
message
,
style
:
''
,
name
:
'
un
knownTransaction'
})
}
case
'emptyBlock'
:
console
.
log
({
action
:
action
.
payload
.
message
},
' emptyBLock reducer'
)
...
...
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
9eaa5e82
...
...
@@ -849,9 +849,11 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
)
}
else
if
(
x
.
name
===
'unknownTransaction'
||
x
.
name
===
'knownTransaction'
)
{
return
x
.
message
.
filter
(
x
=>
x
.
tx
.
hash
.
includes
(
searchInput
)
||
x
.
tx
.
from
.
includes
(
searchInput
)
||
(
x
.
tx
.
to
.
includes
(
searchInput
))).
map
((
trans
)
=>
{
console
.
log
({
trans
},
'first output from deploy'
)
return
(<
div
className=
'px-4 block'
data
-
id=
{
`block_tx${trans.tx.hash}`
}
>
{
renderKnownTransactions
(
trans
.
tx
,
trans
.
receipt
,
index
)
}
</
div
>)
})
}
else
{
console
.
log
({
x
},
'second output from deploy'
)
return
(
<
div
className=
"px-4 block"
data
-
id=
"block_null"
key=
{
index
}
>
<
span
className=
{
x
.
style
}
>
{
x
.
message
}
</
span
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment