File tree Expand file tree Collapse file tree 2 files changed +34
-12
lines changed
components/UserAutocomplete Expand file tree Collapse file tree 2 files changed +34
-12
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ export const useInlineStyle = makeStyles(() => {
156
156
inline : {
157
157
width : "300px" ,
158
158
159
+ "& .MuiFormControl-root" : {
160
+ margin : 0 ,
161
+ } ,
162
+
159
163
"& .MuiInputBase-root" : {
160
164
// Match button small height
161
165
height : 36 ,
Original file line number Diff line number Diff line change @@ -59,24 +59,42 @@ export const groupMachine = createMachine(
59
59
type : "parallel" ,
60
60
states : {
61
61
data : {
62
- invoke : {
63
- src : "loadGroup" ,
64
- onDone : {
65
- actions : [ "assignGroup" ] ,
62
+ initial : "loading" ,
63
+ states : {
64
+ loading : {
65
+ invoke : {
66
+ src : "loadGroup" ,
67
+ onDone : {
68
+ actions : [ "assignGroup" ] ,
69
+ target : "success" ,
70
+ } ,
71
+ onError : {
72
+ actions : [ "displayLoadGroupError" ] ,
73
+ } ,
74
+ } ,
66
75
} ,
67
- onError : {
68
- actions : [ "displayLoadGroupError" ] ,
76
+ success : {
77
+ type : "final" ,
69
78
} ,
70
79
} ,
71
80
} ,
72
81
permissions : {
73
- invoke : {
74
- src : "loadPermissions" ,
75
- onDone : {
76
- actions : [ "assignPermissions" ] ,
82
+ initial : "loading" ,
83
+ states : {
84
+ loading : {
85
+ invoke : {
86
+ src : "loadPermissions" ,
87
+ onDone : {
88
+ actions : [ "assignPermissions" ] ,
89
+ target : "success" ,
90
+ } ,
91
+ onError : {
92
+ actions : [ "displayLoadPermissionsError" ] ,
93
+ } ,
94
+ } ,
77
95
} ,
78
- onError : {
79
- actions : [ "displayLoadPermissionsError" ] ,
96
+ success : {
97
+ type : "final" ,
80
98
} ,
81
99
} ,
82
100
} ,
You can’t perform that action at this time.
0 commit comments