Commit 40a8de5 1 parent a229c3d commit 40a8de5 Copy full SHA for 40a8de5
File tree 1 file changed +8
-16
lines changed
bundles/org.openhab.ui/web/src/pages/settings/things
1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 137
137
<f7-col >
138
138
<f7-list >
139
139
<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" />
149
143
</f7-list >
150
144
</f7-col >
151
145
</f7-block >
@@ -229,6 +223,11 @@ p.action-description
229
223
</style >
230
224
231
225
<script >
226
+ import Vue from ' vue'
227
+
228
+ import Clipboard from ' v-clipboard'
229
+ Vue .use (Clipboard)
230
+
232
231
import YAML from ' yaml'
233
232
import cloneDeep from ' lodash/cloneDeep'
234
233
import fastDeepEqual from ' fast-deep-equal/es6'
@@ -250,13 +249,6 @@ import ThingStatus from '@/components/thing/thing-status-mixin'
250
249
import DirtyMixin from ' ../dirty-mixin'
251
250
import ThingActionPopup from ' @/pages/settings/things/thing-action-popup.vue'
252
251
253
- import Vue from ' vue'
254
- import Clipboard from ' v-clipboard'
255
-
256
- Vue .use (Clipboard)
257
-
258
- let copyToast = null
259
-
260
252
export default {
261
253
mixins: [ThingStatus, DirtyMixin],
262
254
components: {
You can’t perform that action at this time.
0 commit comments