[+] Change "Submit" to "Update" if rated
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="ratingDialog = false">Cancel</el-button>
|
<el-button @click="ratingDialog = false">Cancel</el-button>
|
||||||
<el-button type="primary" @click="submitRating()">Submit</el-button>
|
<el-button type="primary" @click="submitRating()">{{course.rated ? 'Update' : 'Submit'}}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user