mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
more anonymous user support
This commit is contained in:
1 parent
e3ba4ca349
commit
fabc786be6
2 files changed
+3
-3
No files matched your search
@@ -138,7 +138,7 @@ function TtsResultViewFc(props: Props) {
|
||||
}
|
||||
|
||||
let modelCreatorDetails = <span>Anonymous user</span>;
|
||||
if (ttsInferenceResult.maybe_model_creator_user_token !== undefined) {
|
||||
if (!!ttsInferenceResult.maybe_model_creator_user_token) {
|
||||
let modelCreatorLink = `/profile/${ttsInferenceResult.maybe_model_creator_username}`;
|
||||
modelCreatorDetails = (
|
||||
<span>
|
||||
|
||||
@@ -119,7 +119,7 @@ function W2lResultViewFc(props: Props) {
|
||||
}
|
||||
|
||||
let creatorDetails = <span>Anonymous user</span>;
|
||||
if (w2lInferenceResult.maybe_creator_user_token !== undefined) {
|
||||
if (!!w2lInferenceResult.maybe_creator_user_token) {
|
||||
let creatorLink = `/profile/${w2lInferenceResult.maybe_creator_username}`;
|
||||
creatorDetails = (
|
||||
<span>
|
||||
@@ -135,7 +135,7 @@ function W2lResultViewFc(props: Props) {
|
||||
}
|
||||
|
||||
let templateCreatorDetails = <span>Anonymous user</span>;
|
||||
if (w2lInferenceResult.maybe_template_creator_user_token !== undefined) {
|
||||
if (!!w2lInferenceResult.maybe_template_creator_user_token) {
|
||||
let templateCreatorLink = `/profile/${w2lInferenceResult.maybe_template_creator_username}`;
|
||||
templateCreatorDetails = (
|
||||
<span>
|
||||
|
||||
Reference in new issue
Block a user