NAME 5 年 前
コミット
dcd20cd0ee
1 ファイル変更0 行追加3 行削除
  1. 0 3
      src/extensions/cookie/bootstrap-table-cookie.js

+ 0 - 3
src/extensions/cookie/bootstrap-table-cookie.js

@@ -274,7 +274,6 @@ $.BootstrapTable = class extends $.BootstrapTable {
       let filterByCookie = {}
       try {
         filterByCookie = JSON.parse(filterByCookieValue)
-        // eslint-disable-next-line no-empty
       } catch (e) {
         throw new Error('Could not parse the json of the filterBy cookie!')
       }
@@ -423,7 +422,6 @@ $.BootstrapTable = class extends $.BootstrapTable {
     const searchTextCookie = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.searchText)
 
     const columnsCookieValue = UtilsCookie.getCookie(this, this.options.cookieIdTable, UtilsCookie.cookieIds.columns)
-
     if (typeof columnsCookieValue === 'boolean' && !columnsCookieValue) {
       throw new Error('The cookie value of filterBy must be a json!')
     }
@@ -431,7 +429,6 @@ $.BootstrapTable = class extends $.BootstrapTable {
     let columnsCookie = {}
     try {
       columnsCookie = JSON.parse(columnsCookieValue)
-      // eslint-disable-next-line no-empty
     } catch (e) {
       throw new Error('Could not parse the json of the columns cookie!', columnsCookieValue)
     }