From 182a6ab0aae6f85d0812312adf37d89ca04009c9 Mon Sep 17 00:00:00 2001 From: Adam Shaylor Date: Tue, 6 Apr 2021 22:04:59 -0700 Subject: [PATCH] fix: CDataTable: v-else compiler warning #143 --- src/components/table/CDataTable.vue | 2 +- .../__snapshots__/CDataTable.spec.js.snap | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/src/components/table/CDataTable.vue b/src/components/table/CDataTable.vue index 9aa84c81..3e98b4b9 100644 --- a/src/components/table/CDataTable.vue +++ b/src/components/table/CDataTable.vue @@ -131,7 +131,7 @@ :index="itemIndex + firstItemIndex" /> diff --git a/src/components/table/tests/__snapshots__/CDataTable.spec.js.snap b/src/components/table/tests/__snapshots__/CDataTable.spec.js.snap index 5048f4fc..c376223b 100644 --- a/src/components/table/tests/__snapshots__/CDataTable.spec.js.snap +++ b/src/components/table/tests/__snapshots__/CDataTable.spec.js.snap @@ -323,6 +323,8 @@ exports[`CDataTable renders correctly 2`] = ` class="position-relative" > + + @@ -330,6 +332,8 @@ exports[`CDataTable renders correctly 2`] = ` Yiorgos Avraamu + + @@ -337,6 +341,8 @@ exports[`CDataTable renders correctly 2`] = ` 2013 + + @@ -344,6 +350,8 @@ exports[`CDataTable renders correctly 2`] = ` Member + + @@ -351,6 +359,8 @@ exports[`CDataTable renders correctly 2`] = ` Active + + @@ -375,6 +385,8 @@ exports[`CDataTable renders correctly 2`] = ` + + @@ -382,6 +394,8 @@ exports[`CDataTable renders correctly 2`] = ` Estavan Lykos + + @@ -389,6 +403,8 @@ exports[`CDataTable renders correctly 2`] = ` 2014 + + @@ -396,6 +412,8 @@ exports[`CDataTable renders correctly 2`] = ` Staff + + @@ -403,6 +421,8 @@ exports[`CDataTable renders correctly 2`] = ` Banned + + @@ -427,6 +447,8 @@ exports[`CDataTable renders correctly 2`] = ` + + @@ -434,6 +456,8 @@ exports[`CDataTable renders correctly 2`] = ` Derick Maximinus + + @@ -441,6 +465,8 @@ exports[`CDataTable renders correctly 2`] = ` 212 + + @@ -448,6 +474,8 @@ exports[`CDataTable renders correctly 2`] = ` Member + + @@ -455,6 +483,8 @@ exports[`CDataTable renders correctly 2`] = ` Pending + + @@ -479,6 +509,8 @@ exports[`CDataTable renders correctly 2`] = ` + + @@ -486,6 +518,8 @@ exports[`CDataTable renders correctly 2`] = ` Chetan Mohamed + + @@ -493,6 +527,8 @@ exports[`CDataTable renders correctly 2`] = ` 2011 + + @@ -500,6 +536,8 @@ exports[`CDataTable renders correctly 2`] = ` Admin + + @@ -507,6 +545,8 @@ exports[`CDataTable renders correctly 2`] = ` Inactive + +