diff --git a/web/src/components/Logs.vue b/web/src/components/Logs.vue
index 3834a93..3ef28c2 100644
--- a/web/src/components/Logs.vue
+++ b/web/src/components/Logs.vue
@@ -28,8 +28,14 @@
-
-
+
+
-
-
-
-
-
@@ -51,6 +41,9 @@
scrollable
v-bind="datePickerProps"
full-width
+ flat
+ :min="min"
+ :max="max"
@input="showTimePicker"
/>
@@ -58,6 +51,7 @@
- {{
- clearText
- }}
- {{
- okText
- }}
+ Limpar
+ OK
@@ -123,14 +113,6 @@ export default {
type: String,
default: 'HH:mm'
},
- clearText: {
- type: String,
- default: DEFAULT_CLEAR_TEXT
- },
- okText: {
- type: String,
- default: DEFAULT_OK_TEXT
- },
textFieldProps: {
type: Object,
default: () => ({})
@@ -142,6 +124,14 @@ export default {
timePickerProps: {
type: Object,
default: () => ({})
+ },
+ min: {
+ type: String,
+ default: null
+ },
+ max: {
+ type: String,
+ default: null
}
},
data() {
@@ -206,13 +196,6 @@ export default {
this.time = format(initDateTime, DEFAULT_TIME_FORMAT)
},
- clear() {
- this.date = null
- this.time = null
-
- this.okHandler()
- },
-
okHandler() {
this.resetPicker()
this.$emit('input', this.selectedDatetime)