Skip to content

Commit 40a8de5

Browse files
committed
Adjustments to the changes from #3086
Those were forgotten to submit during review. Signed-off-by: Florian Hotze <[email protected]>
1 parent a229c3d commit 40a8de5

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

bundles/org.openhab.ui/web/src/pages/settings/things/thing-details.vue

+8-16
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,9 @@
137137
<f7-col>
138138
<f7-list>
139139
<f7-list-button v-if="thing.statusInfo.statusDetail === 'HANDLER_MISSING_ERROR'" color="blue" title="Install Binding" @click="installBinding" />
140-
<f7-list-button v-if="!error" color="blue" @click="duplicateThing">
141-
Duplicate Thing
142-
</f7-list-button>
143-
<f7-list-button v-if="!error" color="blue" @click="copyThingDsl">
144-
Copy DSL Definition
145-
</f7-list-button>
146-
<f7-list-button v-if="editable" color="red" @click="deleteThing">
147-
Remove Thing
148-
</f7-list-button>
140+
<f7-list-button v-if="!error" color="blue" title="Duplicate Thing" @click="duplicateThing" />
141+
<f7-list-button v-if="!error" color="blue" title="Copy DSL Definition" @click="copyThingDsl" />
142+
<f7-list-button v-if="editable" color="red" title="Remove Thing" @click="deleteThing"/>
149143
</f7-list>
150144
</f7-col>
151145
</f7-block>
@@ -229,6 +223,11 @@ p.action-description
229223
</style>
230224

231225
<script>
226+
import Vue from 'vue'
227+
228+
import Clipboard from 'v-clipboard'
229+
Vue.use(Clipboard)
230+
232231
import YAML from 'yaml'
233232
import cloneDeep from 'lodash/cloneDeep'
234233
import fastDeepEqual from 'fast-deep-equal/es6'
@@ -250,13 +249,6 @@ import ThingStatus from '@/components/thing/thing-status-mixin'
250249
import DirtyMixin from '../dirty-mixin'
251250
import ThingActionPopup from '@/pages/settings/things/thing-action-popup.vue'
252251
253-
import Vue from 'vue'
254-
import Clipboard from 'v-clipboard'
255-
256-
Vue.use(Clipboard)
257-
258-
let copyToast = null
259-
260252
export default {
261253
mixins: [ThingStatus, DirtyMixin],
262254
components: {

0 commit comments

Comments
 (0)