mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
working folder docs
This commit is contained in:
parent
dcba96b23f
commit
e4c28c84ac
@ -13,7 +13,7 @@ const Documentation = ({ collection, folder }) => {
|
||||
const dispatch = useDispatch();
|
||||
const { displayedTheme } = useTheme();
|
||||
const [isEditing, setIsEditing] = useState(false);
|
||||
const docs = get(folder, 'root.request.docs', '');
|
||||
const docs = get(folder, 'root.docs', '');
|
||||
const preferences = useSelector((state) => state.app.preferences);
|
||||
|
||||
const toggleViewMode = () => {
|
||||
|
@ -1738,7 +1738,7 @@ export const collectionsSlice = createSlice({
|
||||
const folder = collection ? findItemInCollection(collection, action.payload.folderUid) : null;
|
||||
if (folder) {
|
||||
if (isItemAFolder(folder)) {
|
||||
set(folder, 'root.request.docs', action.payload.docs);
|
||||
set(folder, 'root.docs', action.payload.docs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user