File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ console.log('Loaded!')
5
5
el : '#app' ,
6
6
data : {
7
7
comment : '' ,
8
- sentiment : 'Positive ' ,
8
+ sentiment : '' ,
9
9
isSubmitting : false ,
10
- error : ''
10
+ error : '' ,
11
11
} ,
12
12
mounted ( ) {
13
13
this . $nextTick ( function ( ) {
@@ -32,9 +32,9 @@ console.log('Loaded!')
32
32
vscode . postMessage ( {
33
33
command : 'submitFeedback' ,
34
34
comment : this . comment ,
35
- sentiment : this . sentiment
35
+ sentiment : this . sentiment ,
36
36
} )
37
- }
38
- }
37
+ } ,
38
+ } ,
39
39
} )
40
40
} ) ( )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export class FeedbackTemplates {
30
30
<a href="https://github.com/aws/aws-toolkit-vscode/issues/new/choose">Talk to us on GitHub instead!</a></p>
31
31
32
32
<input v-if="isSubmitting" type="submit" value="Submitting..." disabled>
33
- <input v-else type="submit" @click="submitFeedback" :disabled="comment.length === 0 || comment.length > 2000" value="Submit">
33
+ <input v-else type="submit" @click="submitFeedback" :disabled="comment.length === 0 || comment.length > 2000 || sentiment === '' " value="Submit">
34
34
35
35
<div id="error" v-if="error !== ''">
36
36
<strong>{{ error }}</strong>
You can’t perform that action at this time.
0 commit comments