@@ -55,7 +55,15 @@
align="center"
label="No. of Sites Configured"
prop="assignedSiteCount"
- min-width="120"/>
+ min-width="180">
+ <template v-slot="{ row }">
+ <span v-if="$route.meta.onlyView">{{ row.assignedSiteCount }}</span>
+ <div
+ class="link-type"
+ @click="assignRates(row)"
+ v-else>{{row.assignedSiteCount}}</div>
+ </template>
+ </el-table-column>
<el-table-column
label="Status"
@@ -62,7 +62,11 @@
min-width="180">
<template v-slot="{ row }">
- <div class="link-type" @click="assignRates(row)">{{row.assignedSiteCount}}</div>
</template>
</el-table-column>