Skip to content

Commit

Permalink
Remove references to unused variable in Manager.vue
Browse files Browse the repository at this point in the history
The value is never changed, so the two buttons were always hidden.
Based on the attribute name, it's unlikely the buttons need to be
hidden anyway.
  • Loading branch information
anttimaki committed Nov 11, 2024
1 parent 1205291 commit 253861d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/model/enums/DependencyListDisplayType.ts

This file was deleted.

7 changes: 2 additions & 5 deletions src/pages/Manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
</p>
</template>
<template v-slot:footer>
<button v-if="dependencyListDisplayType === 'view'" class="button is-info"
@click="closeSteamInstallationValidationModal()">
<button class="button is-info" @click="closeSteamInstallationValidationModal()">
I understand
</button>
</template>
Expand Down Expand Up @@ -126,7 +125,7 @@
</p>
</template>
<template v-slot:footer>
<button v-if="dependencyListDisplayType === 'view'" class="button is-info" @click="exportCode = ''">
<button class="button is-info" @click="exportCode = ''">
Done
</button>
</template>
Expand Down Expand Up @@ -155,7 +154,6 @@ import { LogSeverity } from '../providers/ror2/logging/LoggerProvider';
import Profile from '../model/Profile';
import VersionNumber from '../model/VersionNumber';
import DependencyListDisplayType from '../model/enums/DependencyListDisplayType';
import R2Error from '../model/errors/R2Error';
import ManifestV2 from '../model/ManifestV2';
import ManagerSettings from '../r2mm/manager/ManagerSettings';
Expand Down Expand Up @@ -192,7 +190,6 @@ import ModalCard from '../components/ModalCard.vue';
}
})
export default class Manager extends Vue {
dependencyListDisplayType: string = DependencyListDisplayType.DISABLE;
portableUpdateAvailable: boolean = false;
updateTagName: string = '';
isValidatingSteamInstallation: boolean = false;
Expand Down

0 comments on commit 253861d

Please sign in to comment.