This commit is contained in:
@@ -46,16 +46,16 @@ CURRENT TODOs
|
||||
|
||||
|
||||
|
||||
todo: when making change to listview filter for saved datalistview and then returning to datatable it's *not* using the latest changes
|
||||
- This is if I SAVE it after editing it in the listview editor
|
||||
- This does *not* occur if I don't save it and it uses the unsaved cache instead
|
||||
- It only "takes" if I switch to another listview or none then back again in teh drop down box, it's HARD caching the original value not refreshing it
|
||||
- maybe it thinks because it has an ID and that ID is the same that it doesn't need to refresh?
|
||||
- or maybe the cached local copy of that datalistview is not set (if there is one for saved dlv?)
|
||||
|
||||
todo: Make functional user settings form with all overrides so can test shit out
|
||||
- state.locale.languageOverride = "en-US"; state.locale.timeZoneOverride = "America/New_York"; state.locale.currencyName = "USD";
|
||||
- check server for anything else useroptions
|
||||
- public string EmailAddress { get; set; }
|
||||
public int UiColor { get; set; }//gonna need to convert this one
|
||||
//browser forced overrides
|
||||
public string LanguageOverride { get; set; }
|
||||
public string TimeZoneOverride { get; set; }
|
||||
public string CurrencyName { get; set; }
|
||||
public bool Hour12 { get; set; }
|
||||
|
||||
|
||||
todo: SEARCH UI
|
||||
|
||||
@@ -30,7 +30,7 @@ function dealWithError(msg, vm) {
|
||||
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
|
||||
msg;
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(errMsg);
|
||||
console.Error(errMsg);
|
||||
console.trace();
|
||||
debugger;
|
||||
window.$gz.eventBus.$emit("notify-error", "Dev error see log / console");
|
||||
|
||||
@@ -24,9 +24,8 @@ function stringifyPrimitive(v) {
|
||||
function devShowUnknownError(error) {
|
||||
if (window.$gz.errorHandler.devMode) {
|
||||
// eslint-disable-next-line
|
||||
console.log("gzapi::devShowUnknownError, error is:");
|
||||
// eslint-disable-next-line
|
||||
console.log(error);
|
||||
console.Error("gzapi::devShowUnknownError, error is:", error);
|
||||
|
||||
console.trace();
|
||||
debugger;
|
||||
|
||||
|
||||
@@ -880,7 +880,6 @@ function loadFormSettings(vm) {
|
||||
//0=no list view, -1=unsaved list view so any number greater than zero means there sb a cached local copy of a saved list view
|
||||
if (formSettings.temp && formSettings.temp.cachedListView != null) {
|
||||
vm.listView = formSettings.temp.cachedListView;
|
||||
console.log("loadFormSettings::using cached list view:", vm.listView);
|
||||
} else {
|
||||
//fetch it and cache it
|
||||
return fetchListView(vm, vm.listViewId);
|
||||
|
||||
@@ -760,11 +760,6 @@ export default {
|
||||
res.data.id || vm.listViewId; //if res.data.id then a post, if null then a put and vm.listviewId has the id
|
||||
window.$gz.form.setFormSettings(vm.formKey, formSettings);
|
||||
|
||||
console.log(
|
||||
"aya-data-list-view::submit success, updated formsettings",
|
||||
formSettings
|
||||
);
|
||||
|
||||
//Logic for detecting if a post or put: if id then it was a post, if no id then it was a put
|
||||
// debugger;
|
||||
if (res.data.id) {
|
||||
|
||||
Reference in New Issue
Block a user