+
+ {this.props.slate.data.name}
+
+
+ {!this.props.external && this.props.username ? (
+
{
+ this._test = c;
+ }}
+ >
+
+
+ {this.state.showMenu ?
{contextMenu}
: null}
- {this.props.slate.data.body ? (
-
{this.props.slate.data.body}
- ) : (
-
- )}
- {objects.length === 1 || (objects.length != 0 && count <= 3) ? (
-
-
-
- ) : first ? (
-
- ) : (
-
- )}
-
-
- {this.props.slate.data.name}
+ ) : (
{objects.length} file
{objects.length > 1 ? "s" : ""}
-
- {first ? (
-
- ) : (
-
- )}
-
-
-
- ) : (
-
-
-
{this.props.slate.data.name}
-
- {this.props.isOwner && !this.props.slate.data.public ? (
-
- ) : null}
-
- {this.props.username ? (
-
{
- this._test = c;
- }}
- >
-
-
- {this.state.showMenu ? (
-
{contextMenu}
- ) : null}
-
-
- ) : null}
+ )}
+
+ {this.props.slate.data.body ? (
+ {this.props.slate.data.body}
+ ) : (
+
+ )}
+ {objects.length === 1 || (objects.length != 0 && count <= 3) ? (
+
+
-
-
- {this.props.slate.data.body ? (
-
{this.props.slate.data.body}
- ) : this.props.isOwner ? (
-
- ) : (
-
- )}
+ ) : first ? (
+
+
+
- {first ? (
-
- ) : this.props.isOwner ? (
-
- ) : (
-
- )}
-
-
-
-
- {this.props.slate.data.name}
-
-
- {objects.length} file
- {objects.length === 1 ? "" : "s"}
+
+
+ ) : (
+
+ )}
+
+
+ {this.props.slate.data.name}
+
+ {objects.length} file
+ {objects.length > 1 ? "s" : ""}
+
+
+ {first ? (
+
+ ) : (
- {first ? (
-
- ) : this.props.isOwner ? (
-
- ) : (
-
- )}
-
-
-
- )}
+ />
+ )}
+
+
);
}