lex пре 2 година
родитељ
комит
f9fbb84236

+ 4 - 1
src/student/share-active/track-review-activity/index.tsx

@@ -482,7 +482,7 @@ export default defineComponent({
                     this.rankingMethod == 'TOTAL_SCORE' &&
                     this.rankingMethod == 'TOTAL_SCORE' &&
                       styles.musicTitleScore
                       styles.musicTitleScore
                   ]}
                   ]}
-                  isLink
+                  isLink={this.rankingMethod === 'TOTAL_SCORE' ? true : false}
                   v-slots={{
                   v-slots={{
                     icon: () => (
                     icon: () => (
                       <Image
                       <Image
@@ -504,6 +504,9 @@ export default defineComponent({
                     value: () => (
                     value: () => (
                       <span
                       <span
                         onClick={() => {
                         onClick={() => {
+                          if (this.rankingMethod !== 'TOTAL_SCORE') {
+                            return
+                          }
                           this.$router.push({
                           this.$router.push({
                             path: '/track-subject-song',
                             path: '/track-subject-song',
                             query: {
                             query: {

+ 4 - 0
src/teacher/share-page/track-review-activity/index.tsx

@@ -286,6 +286,7 @@ export default defineComponent({
                     this.rankingMethod == 'TOTAL_SCORE' &&
                     this.rankingMethod == 'TOTAL_SCORE' &&
                       styles.musicTitleScore
                       styles.musicTitleScore
                   ]}
                   ]}
+                  isLink={this.rankingMethod === 'TOTAL_SCORE' ? true : false}
                   v-slots={{
                   v-slots={{
                     icon: () => (
                     icon: () => (
                       <Image
                       <Image
@@ -307,6 +308,9 @@ export default defineComponent({
                     value: () => (
                     value: () => (
                       <span
                       <span
                         onClick={() => {
                         onClick={() => {
+                          if (this.rankingMethod !== 'TOTAL_SCORE') {
+                            return
+                          }
                           this.$router.push({
                           this.$router.push({
                             path: '/track-subject-song',
                             path: '/track-subject-song',
                             query: {
                             query: {