Admins use analysis units and questions too
They add their own units on the admin page when they need more, and testing shows the same balance as users see. Regenerating and prompt previews stay free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -132,7 +132,7 @@ export function AnalysisQuestions({
|
||||
setBuying(false);
|
||||
}
|
||||
|
||||
const canAsk = isAdmin || left > 0;
|
||||
const canAsk = left > 0;
|
||||
return (
|
||||
<section className="questions" aria-labelledby={`${fieldId}-title`}>
|
||||
<h3 id={`${fieldId}-title`}>{TEXTS[about].title}</h3>
|
||||
@@ -196,11 +196,7 @@ export function AnalysisQuestions({
|
||||
{busy ? "Küldés…" : "Kérdés küldése"}
|
||||
</button>
|
||||
<span className="hint">
|
||||
{waiting
|
||||
? "Várd meg az előző válaszát."
|
||||
: isAdmin
|
||||
? "Adminként ingyenes."
|
||||
: `Még ${left} kérdésed van.`}{" "}
|
||||
{waiting ? "Várd meg az előző válaszát." : `Még ${left} kérdésed van.`}{" "}
|
||||
{text.length > MAX_CHARS - 100 && `${text.length}/${MAX_CHARS}`}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user