buletomato25 commited on
Commit
34a593c
·
1 Parent(s): 764bda3
Files changed (1) hide show
  1. static/feedback.js +10 -0
static/feedback.js CHANGED
@@ -35,6 +35,16 @@ async function getAnalysis() {
35
  const pleasantConversation = analysis.pleasantConversation;
36
  const blameOrHarassment = analysis.blameOrHarassment;
37
 
 
 
 
 
 
 
 
 
 
 
38
  loader.style.display = "none";
39
  // DOMに表示
40
  document.getElementById(
 
35
  const pleasantConversation = analysis.pleasantConversation;
36
  const blameOrHarassment = analysis.blameOrHarassment;
37
 
38
+ if (harassmentPresent) {
39
+ harassmentPresent = "あり";
40
+ } else {
41
+ harassmentPresent = "なし";
42
+ }
43
+
44
+ if (harassmentType == null) {
45
+ harassmentType = "該当なし";
46
+ }
47
+
48
  loader.style.display = "none";
49
  // DOMに表示
50
  document.getElementById(