title: vuejs :src with a v-if condition
body: <p>This code works but is there a way to consolidate these two conditions and outputs into one line of code?</p>
  
  <pre><code>&lt;img v-if="pointshover" :src="pointshover" :key="pointshover" class="leaderimg"&gt;
  &lt;img v-if="!pointshover" :src="leaderPoints[0].playerimg" :key="pointshover" class="leaderimg"&gt;
  </code></pre>
  
  <p>Basically if 'pointshover' is null then it grabs the image src from leaderPoints[0].playerimg.  If 'pointshover' is not null then it is the src.</p>