Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
0ca23bb8
Commit
0ca23bb8
authored
Mar 01, 2024
by
StyleZhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
features
parent
6e3d6c42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
store.ts
web/app/components/workflow/store.ts
+0
-4
No files found.
web/app/components/workflow/store.ts
View file @
0ca23bb8
...
@@ -4,14 +4,12 @@ type State = {
...
@@ -4,14 +4,12 @@ type State = {
mode
:
string
mode
:
string
showRunHistory
:
boolean
showRunHistory
:
boolean
showFeaturesPanel
:
boolean
showFeaturesPanel
:
boolean
showFeaturesModal
:
boolean
runStaus
:
string
runStaus
:
string
}
}
type
Action
=
{
type
Action
=
{
setShowRunHistory
:
(
showRunHistory
:
boolean
)
=>
void
setShowRunHistory
:
(
showRunHistory
:
boolean
)
=>
void
setShowFeaturesPanel
:
(
showFeaturesPanel
:
boolean
)
=>
void
setShowFeaturesPanel
:
(
showFeaturesPanel
:
boolean
)
=>
void
setShowFeaturesModal
:
(
showFeaturesModal
:
boolean
)
=>
void
setRunStaus
:
(
runStaus
:
string
)
=>
void
setRunStaus
:
(
runStaus
:
string
)
=>
void
}
}
...
@@ -21,8 +19,6 @@ export const useStore = create<State & Action>(set => ({
...
@@ -21,8 +19,6 @@ export const useStore = create<State & Action>(set => ({
setShowRunHistory
:
showRunHistory
=>
set
(()
=>
({
showRunHistory
})),
setShowRunHistory
:
showRunHistory
=>
set
(()
=>
({
showRunHistory
})),
showFeaturesPanel
:
false
,
showFeaturesPanel
:
false
,
setShowFeaturesPanel
:
showFeaturesPanel
=>
set
(()
=>
({
showFeaturesPanel
})),
setShowFeaturesPanel
:
showFeaturesPanel
=>
set
(()
=>
({
showFeaturesPanel
})),
showFeaturesModal
:
false
,
setShowFeaturesModal
:
showFeaturesModal
=>
set
(()
=>
({
showFeaturesModal
})),
runStaus
:
''
,
runStaus
:
''
,
setRunStaus
:
runStaus
=>
set
(()
=>
({
runStaus
})),
setRunStaus
:
runStaus
=>
set
(()
=>
({
runStaus
})),
}))
}))
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