File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
resources/js/tasks/components Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,10 @@ export default {
327
327
type: String ,
328
328
default: " tasks" ,
329
329
},
330
+ verifyUrlToFalse: {
331
+ type: Boolean ,
332
+ default: false
333
+ }
330
334
},
331
335
data () {
332
336
return {
@@ -846,7 +850,10 @@ export default {
846
850
},
847
851
verifyURL (string ) {
848
852
const currentUrl = window .location .href ;
849
- const isInUrl = currentUrl .includes (string);
853
+ let isInUrl = currentUrl .includes (string);
854
+ if (this .verifyUrlToFalse ) {
855
+ isInUrl = false ;
856
+ }
850
857
return isInUrl;
851
858
},
852
859
/**
Original file line number Diff line number Diff line change 51
51
<splitpane-container v-if =" showPreview" :size =" splitpaneSize" >
52
52
<div
53
53
ref =" tasks-preview"
54
- class =" tasks-preview h-100 p-3"
54
+ class =" tasks-preview h-100 p-3 position-relative "
55
55
>
56
56
<div class =" d-flex w-100 mb-3" >
57
57
<slot name =" header" v-bind:close =" onClose" v-bind:screenFilteredTaskData =" formData" v-bind:taskReady =" taskReady" >
168
168
</div >
169
169
<div
170
170
id =" reassign-container"
171
- class =" d-flex mb-3 "
171
+ class =" d-flex align-items-center overlay-div position-absolute top-0 start-0 w-100 bg-white shadow-lg p-2 pr-4 "
172
172
v-if =" showReassignment"
173
173
>
174
174
<div class =" mr-3" >
209
209
</template >
210
210
</select-from-api >
211
211
</div >
212
- <button type =" button" class =" btn btn-secondary ml-2" @click =" reassignUser" :disabled =" disabled" >
212
+ <button type =" button" class =" btn btn-primary btn-sm ml-2" @click =" reassignUser" :disabled =" disabled" >
213
213
{{ $t('Assign') }}
214
214
</button >
215
- <button type =" button" class =" btn btn-outline-secondary ml-2" @click =" cancelReassign" >
215
+ <button type =" button" class =" btn btn-outline-secondary btn-sm ml-2" @click =" cancelReassign" >
216
216
{{ $t('Cancel') }}
217
217
</button >
218
218
</div >
221
221
'frame-container-full': tooltipButton === 'fullTask',
222
222
'frame-container-inbox': tooltipButton === 'inboxRules'
223
223
}"
224
- class =" iframe-container"
225
- v-show =" !showReassignment" >
224
+ class =" iframe-container" >
226
225
<iframe
227
226
v-if =" showFrame1"
228
227
:title =" $t('Preview')"
You can’t perform that action at this time.
0 commit comments