This commit is contained in:
2019-01-07 22:45:41 +00:00
parent d2b8f0b985
commit 0b7e54bcb5
2 changed files with 5 additions and 7 deletions

View File

@@ -24,8 +24,7 @@ TODO CLIENT STUFF
- In main list?
- Only in detail?
- Check the rights to the list before it gets the data
- Edit / Trash buttons in grid are too small on a phone with fat fingers
- TWO api calls are made when list is opened, sb one only.
- Edit / Trash buttons in grid are too small on a phone with fat fingers
- Should list or any widgets fetch data automatically on display or should they have some way of requesting it to save bandwidth? (TTM CADILLAC PROBLEM?)
- Should the list be narrow to start and expand on demand?(TTM CADILLAC PROBLEM?)
- Login needs to scroll higher or logo smaller on sm so that the keyboard doesn't obscure the login lines

View File

@@ -42,7 +42,7 @@
<td class="text-xs-left">{{ props.item.startDate | shortdate}}</td>
<td class="text-xs-left">{{ props.item.endDate | shortdate }}</td>
<td class="justify-center layout px-0">
<v-icon small class="mr-3" @click="editItem(props.item)">fa-pencil-alt</v-icon>
<v-icon class="mr-3" @click="editItem(props.item)">fa-pencil-alt</v-icon>
</td>
</template>
</v-data-table>
@@ -52,7 +52,7 @@
<script>
/* xeslint-disable */
/* eslint-disable */
import localeText from "../api/locale";
import api from "../api/apiutil";
import WidgetEdit from "../components/inventorywidgetedit";
@@ -118,8 +118,7 @@ export default {
}
},
mounted() {
this.rowsPerPageText = this.lt("RowsPerPage");
this.getDataFromApi();
this.rowsPerPageText = this.lt("RowsPerPage");
},
computed: {},
methods: {
@@ -131,7 +130,7 @@ export default {
this.dialogdata.showeditdialog = true;
},
getDataFromApi() {
// debugger;
//debugger;
var listOptions = {
offset: 0,
limit: 5,