mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
native platform prop
This commit is contained in:
1 parent
7e6331d1ad
commit
79f72c92b3
10 files changed
+36
-37
No files matched your search
@@ -192,7 +192,7 @@ export default {
|
||||
ConditionsModal,
|
||||
ContextSubmenu
|
||||
},
|
||||
inject: ['t', 'save', 'selectedAreasRef', 'getFieldTypeIndex', 'withConditions', 'nativeIos'],
|
||||
inject: ['t', 'save', 'selectedAreasRef', 'getFieldTypeIndex', 'withConditions', 'nativePlatform'],
|
||||
props: {
|
||||
contextMenu: {
|
||||
type: Object,
|
||||
@@ -259,7 +259,7 @@ export default {
|
||||
return true
|
||||
},
|
||||
showCondition () {
|
||||
return this.withCondition && (this.withConditions || !this.nativeIos)
|
||||
return this.withCondition && (this.withConditions || this.nativePlatform !== 'ios')
|
||||
},
|
||||
fieldNames: FieldType.computed.fieldNames,
|
||||
fieldLabels: FieldType.computed.fieldLabels
|
||||
|
||||
Reference in new issue
Block a user