MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / changeLayoutCollapsed

Function changeLayoutCollapsed

src/models/global.js:75–83  ·  view source on GitHub ↗
(
      state = {
        notices: [],
        collapsed: true,
      },
      { payload },
    )

Source from the content-addressed store, hash-verified

73 return {...state,rightdrawervisible:payload}
74 },
75 changeLayoutCollapsed(
76 state = {
77 notices: [],
78 collapsed: true,
79 },
80 { payload },
81 ) {
82 return { ...state, collapsed: payload };
83 },
84
85 saveNotices(state, { payload }) {
86 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected