We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8b3d52 commit 6b84372Copy full SHA for 6b84372
packages/app/src/app/store/modules/workspace/items.js
@@ -31,11 +31,13 @@ const LIVE = {
31
export default function getItems(store) {
32
if (
33
store.live.isLive &&
34
- (store.live.isOwner ||
+ !(
35
+ store.live.isOwner ||
36
(store.user &&
37
store.currentSandbox &&
38
store.currentSandbox.author &&
- store.currentSandbox.author.id !== store.user.id))
39
+ store.currentSandbox.author.id === store.user.id)
40
+ )
41
) {
42
return [FILES, LIVE];
43
}
0 commit comments