title: Increase the number of the week when click the button in Vue
body: <p>I am trying to increase the number of the week by clicking the button in Vue. So, I have a variable currentWeekNumber which starts from this week which is 32. Then, what I am trying to do is when clicking the button to increase the number of the currentWeekNumbe but unfortunatelly, I am not successfull. Even when I click it stays the same, 32. Could you please have a look? Here is my code:</p>
  <pre><code>&lt;template&gt;
      &lt;div class=&quot;container&quot; id=&quot;app&quot;&gt;
          &lt;nav aria-label=&quot;Page navigation&quot;&gt;
              &lt;ul class=&quot;pagination justify-content-center&quot;&gt;
                  &lt;li
                      class=&quot;page-item&quot;
                      v-bind:class=&quot;{ disabled: currentWeekNumber === 32 }&quot;
                      v-on:click=&quot;currentWeekNumber -= 1&quot;
                  &gt;
                      &lt;a class=&quot;page-link&quot; href=&quot;&quot;&gt;Prev&lt;/a&gt;
                  &lt;/li&gt;
                  &lt;!--                    change the currPage === 2 with currPage === weeksSize --&gt;
                  &lt;li
                      class=&quot;page-item&quot;
                      v-bind:class=&quot;{ disabled: currentWeekNumber === 35 }&quot;
                      v-on:click=&quot;currentWeekNumber += 1&quot;
                  &gt;
                      &lt;a class=&quot;page-link&quot; href=&quot;&quot;&gt;Next {{currentWeekNumber}}&lt;/a&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/nav&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  export default {
      data() {
          return {
              tickets: [],
              currentWeekNumber: this.getWeekNumber(new Date()),
          };
      },
      computed: {
          weeksSize() {
              const s = this.getAllWeekNumbers(this.tickets);
              return s.size;
          },
      },
      methods: {
          getWeekNumber(date) {
              const temp_date = new Date(date.valueOf());
              const dayn = (date.getDay() + 6) % 7;
              temp_date.setDate(temp_date.getDate() - dayn + 3);
              const firstThursday = temp_date.valueOf();
              temp_date.setMonth(0, 1);
              if (temp_date.getDay() !== 4)
              {
                  temp_date.setMonth(0, 1 + ((4 - temp_date.getDay()) + 7) % 7);
              }
              return 1 + Math.ceil((firstThursday - temp_date) / 604800000);
          },
          findTicketsWeek(tickets) {
              return tickets.filter((ticket) =&gt; {
                  return (
                      this.getWeekNumber(ticket.date) === this.currentWeekNumber
                  );
              });
          },
      },
  };
  &lt;/script&gt;
  </code></pre>