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