Cleanup Followers.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9e2e071609
commit
8a58f5ba7c
|
@ -128,7 +128,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Component, Mixins, Ref } from "vue-property-decorator";
|
import { Component, Mixins } from "vue-property-decorator";
|
||||||
import { SnackbarProgrammatic as Snackbar } from "buefy";
|
import { SnackbarProgrammatic as Snackbar } from "buefy";
|
||||||
import { formatDistanceToNow } from "date-fns";
|
import { formatDistanceToNow } from "date-fns";
|
||||||
import {
|
import {
|
||||||
|
@ -173,8 +173,6 @@ export default class Followers extends Mixins(RelayMixin) {
|
||||||
|
|
||||||
FOLLOWERS_PER_PAGE = FOLLOWERS_PER_PAGE;
|
FOLLOWERS_PER_PAGE = FOLLOWERS_PER_PAGE;
|
||||||
|
|
||||||
@Ref("table") readonly table!: any;
|
|
||||||
|
|
||||||
toggle(row: Record<string, unknown>): void {
|
toggle(row: Record<string, unknown>): void {
|
||||||
this.table.toggleDetails(row);
|
this.table.toggleDetails(row);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue