Skip to content

Commit 7bf6679

Browse files
committed
Remove unused code
1 parent 5984ce0 commit 7bf6679

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/components/cylc/Drawer.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2828
<v-list
2929
class="pa-0 d-flex flex-column"
3030
>
31-
<c-header :user="user.username" />
31+
<c-header />
3232

3333
<v-list-item
3434
to="/"
@@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6969

7070
<script>
7171
import Header from '@/components/cylc/Header.vue'
72-
import { mapMutations, mapState } from 'vuex'
72+
import { mapMutations } from 'vuex'
7373
import Workflows from '@/views/Workflows.vue'
7474
import { mdiHome, mdiGraphql } from '@mdi/js'
7575
import pkg from '@/../package.json'
@@ -94,7 +94,6 @@ export default {
9494
},
9595
9696
computed: {
97-
...mapState('user', ['user']),
9897
drawer: {
9998
get () {
10099
return this.$store.state.app.drawer

src/components/cylc/Header.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,3 @@ const showGoButton = computed(() => (
149149
))
150150
151151
</script>
152-
153-
<style>
154-
/* work around bug with v-combobox overflow https://github.com/vuetifyjs/vuetify/issues/17596 */
155-
.v-combobox__selection {
156-
overflow-x: hidden;
157-
}
158-
</style>

src/services/mock/json/index.cjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
const IntrospectionQuery = require('./IntrospectionQuery.json')
19-
const userProfile = require('./userprofile.json')
2019
const taskProxy = require('./taskProxy.json')
2120
const familyProxy = require('./familyProxy.json')
2221
const workflowOne = require('./workflows/one')
@@ -34,7 +33,6 @@ module.exports = {
3433
IntrospectionQuery,
3534
taskProxy,
3635
familyProxy,
37-
userProfile,
3836
LogData,
3937
LogFiles,
4038
App: workflows,

0 commit comments

Comments
 (0)