Skip to content
Snippets Groups Projects
Commit a1a84d9d authored by Nils Brinckmann's avatar Nils Brinckmann
Browse files

Fix linter issues

parent 998fffe6
No related branches found
No related tags found
3 merge requests!90Draft: restructure frontend properties 2,!84Don't show warnings for the tab values (strings allowed now),!82Restructure frontend
......@@ -84,7 +84,7 @@ permissions and limitations under the Licence.
</template>
<script lang="ts">
import { Component, Vue, Watch } from 'nuxt-property-decorator'
import { Component, Vue } from 'nuxt-property-decorator'
import { DeviceProperty } from '@/models/DeviceProperty'
import { Compartment } from '@/models/Compartment'
import { Property } from '@/models/Property'
......@@ -116,7 +116,7 @@ export default class DevicePropertiesPage extends Vue {
this.isLoading = true
this.deviceProperties = await this.$api.devices.findRelatedDeviceProperties(this.deviceId)
this.isLoading = false
//this.openSelectedPanel()
// this.openSelectedPanel()
} catch (e) {
this.$store.commit('snackbar/setError', 'Failed to fetch properties')
this.isLoading = false
......@@ -200,18 +200,6 @@ export default class DevicePropertiesPage extends Vue {
})
}
@Watch('openedPanels', { immediate: true, deep: true })
// @ts-ignore
onPanelsChanged (newPanels, oldPanels) {
console.log(newPanels, oldPanels)
}
@Watch('$route', { immediate: true, deep: true })
// @ts-ignore
onRouteChanged () {
//this.openSelectedPanel()
}
openPanel (panelIndex: number, opened: boolean) {
this.openedPanels = []
if (opened) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment