|
|
@ -1,12 +1,6 @@ |
|
|
|
// import type { Ref } from 'vue'
|
|
|
|
|
|
|
|
// import type { ViewType } from 'nocodb-sdk'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const timeout = 3000 // in ms
|
|
|
|
const timeout = 3000 // in ms
|
|
|
|
|
|
|
|
|
|
|
|
// export default function useShowNotEditableWarning(view: Ref<ViewType | undefined>) {
|
|
|
|
|
|
|
|
export default function useShowNotEditableWarning() { |
|
|
|
export default function useShowNotEditableWarning() { |
|
|
|
// console.log(view)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const showEditNonEditableFieldWarning = refAutoReset(false, timeout) |
|
|
|
const showEditNonEditableFieldWarning = refAutoReset(false, timeout) |
|
|
|
const showClearNonEditableFieldWarning = refAutoReset(false, timeout) |
|
|
|
const showClearNonEditableFieldWarning = refAutoReset(false, timeout) |
|
|
|
|
|
|
|
|
|
|
|