Rename gameday clip library copy
This commit is contained in:
@@ -577,10 +577,6 @@ export function OperatorPage() {
|
|||||||
aria-labelledby={`player-${memberId}-toggle`}
|
aria-labelledby={`player-${memberId}-toggle`}
|
||||||
>
|
>
|
||||||
<div className="operator-section">
|
<div className="operator-section">
|
||||||
<div className="operator-section-title">
|
|
||||||
<h3 style={{ margin: 0 }}>Clip library</h3>
|
|
||||||
<span className="muted">Pinned clips stay at the top</span>
|
|
||||||
</div>
|
|
||||||
<div className="operator-clip-list">
|
<div className="operator-clip-list">
|
||||||
<LibraryClips
|
<LibraryClips
|
||||||
teamId={teamId}
|
teamId={teamId}
|
||||||
@@ -592,9 +588,8 @@ export function OperatorPage() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="operator-section">
|
<div className="operator-section">
|
||||||
<h3 style={{ margin: 0 }}>Debug</h3>
|
|
||||||
<details className="operator-debug-details">
|
<details className="operator-debug-details">
|
||||||
<summary>Show raw lineup data</summary>
|
<summary>Debug: Show raw lineup data</summary>
|
||||||
<pre className="operator-debug">
|
<pre className="operator-debug">
|
||||||
{JSON.stringify(
|
{JSON.stringify(
|
||||||
{
|
{
|
||||||
@@ -659,11 +654,11 @@ function LibraryClips({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (fallbackClipsQuery.isLoading) {
|
if (fallbackClipsQuery.isLoading) {
|
||||||
return <div className="muted">Loading library clips...</div>;
|
return <div className="muted">Loading walkup clips...</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fallbackClipsQuery.data?.length) {
|
if (!fallbackClipsQuery.data?.length) {
|
||||||
return <div className="muted">No library clips available for this player.</div>;
|
return <div className="muted">No walkup clips available for this player.</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
const clips = [...fallbackClipsQuery.data].sort((a, b) => {
|
const clips = [...fallbackClipsQuery.data].sort((a, b) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user