refactor: rename UserSearch.vue to AniListUserSearch.vue
This commit is contained in:
@@ -3,10 +3,10 @@ import {Options, Vue} from 'vue-class-component';
|
|||||||
import {AniListStore} from '@/stores/AniListStore';
|
import {AniListStore} from '@/stores/AniListStore';
|
||||||
|
|
||||||
@Options({
|
@Options({
|
||||||
name: 'UserSearch',
|
name: 'AniListUserSearch',
|
||||||
components: {},
|
components: {},
|
||||||
})
|
})
|
||||||
export default class UserSearch extends Vue {
|
export default class AniListUserSearch extends Vue {
|
||||||
private aniListStore = new AniListStore();
|
private aniListStore = new AniListStore();
|
||||||
|
|
||||||
private get userName(): string {
|
private get userName(): string {
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {Options, Vue} from 'vue-class-component';
|
import {Options, Vue} from 'vue-class-component';
|
||||||
import BootstrapThemeSwitch from '@/components/bootstrapThemeSwitch/BootstrapThemeSwitch.vue';
|
import BootstrapThemeSwitch from '@/components/bootstrapThemeSwitch/BootstrapThemeSwitch.vue';
|
||||||
import UserSearch from '@/components/UserSearch.vue';
|
import AniListUserSearch from '@/components/AniListUserSearch.vue';
|
||||||
import LocaleSelector from '@/components/locale/LocaleSelector.vue';
|
import LocaleSelector from '@/components/locale/LocaleSelector.vue';
|
||||||
|
|
||||||
@Options({
|
@Options({
|
||||||
name: 'NavBar',
|
name: 'NavBar',
|
||||||
components: {
|
components: {
|
||||||
UserSearch,
|
AniListUserSearch,
|
||||||
BootstrapThemeSwitch,
|
BootstrapThemeSwitch,
|
||||||
LocaleSelector,
|
LocaleSelector,
|
||||||
},
|
},
|
||||||
@@ -51,7 +51,7 @@ export default class NavBar extends Vue {
|
|||||||
<!-- </li>-->
|
<!-- </li>-->
|
||||||
<!-- </ul>-->
|
<!-- </ul>-->
|
||||||
<div class="mx-auto">
|
<div class="mx-auto">
|
||||||
<UserSearch/>
|
<AniListUserSearch/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="d-flex flex-row align-items-center">
|
<div class="d-flex flex-row align-items-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user